From c31fe0bd855cbfcf84199c7dc0fca53b328fee64 Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <matthieu.schaller@durham.ac.uk> Date: Sat, 12 Aug 2017 17:25:27 +0100 Subject: [PATCH] Also handle correctly the GIZMO case. --- src/engine.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/engine.c b/src/engine.c index 5cade0e2b2..3944ad156f 100644 --- a/src/engine.c +++ b/src/engine.c @@ -220,14 +220,13 @@ void engine_make_hierarchical_tasks(struct engine *e, struct cell *c) { scheduler_addtask(s, task_type_ghost, task_subtype_none, 0, /* implicit = */ 1, c, NULL); engine_add_ghosts(e, c, c->ghost_in, c->ghost_out); - } #ifdef EXTRA_HYDRO_LOOP - /* Generate the extra ghost task. */ - if (is_hydro) + /* Generate the extra ghost task. */ c->extra_ghost = scheduler_addtask(s, task_type_extra_ghost, task_subtype_none, 0, 0, c, NULL); #endif + } /* Cooling task */ if (is_with_cooling) { -- GitLab