From ff1392d1b7e904b51f3877a28d8bf0878f9f0d61 Mon Sep 17 00:00:00 2001 From: John Helly <j.c.helly@durham.ac.uk> Date: Fri, 13 Nov 2020 15:15:11 +0000 Subject: [PATCH] Only require black hole seed mass if seeding black holes --- src/fof.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fof.c b/src/fof.c index cac371c096..511477bce7 100644 --- a/src/fof.c +++ b/src/fof.c @@ -136,7 +136,7 @@ void fof_init(struct fof_props *props, struct swift_params *params, if (props->l_x_ratio <= 0. && props->l_x_absolute == -1.) error("The FOF linking length ratio can't be negative!"); - if (!stand_alone_fof) { + if (!stand_alone_fof && props->seed_black_holes_enabled) { /* Read the minimal halo mass for black hole seeding */ props->seed_halo_mass = -- GitLab