From cfb89497fad0f6cd57cd211f43caeea6142d0ccf Mon Sep 17 00:00:00 2001
From: James Willis <james.s.willis@durham.ac.uk>
Date: Mon, 29 Oct 2018 15:30:21 +0000
Subject: [PATCH] Return from engine_init_particles() before marking tasks to
 run.

---
 examples/main_fof.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/main_fof.c b/examples/main_fof.c
index 1bdafb48ce..5a8c03ae5e 100644
--- a/examples/main_fof.c
+++ b/examples/main_fof.c
@@ -993,7 +993,7 @@ int main(int argc, char *argv[]) {
 #endif
 
     /* Initialise the particles */
-    engine_init_particles(&e, flag_entropy_ICs, clean_smoothing_length_values, 1);
+    engine_init_particles(&e, flag_entropy_ICs, clean_smoothing_length_values, 0);
 
     /* Perform first FOF search after the first snapshot dump. */
     fof_search_tree(&s);
-- 
GitLab