From 54d9a2c1fd6114180b864b1719ff8f2cde9d29bd Mon Sep 17 00:00:00 2001 From: Bert Vandenbroucke <bert.vandenbroucke@ugent.be> Date: Fri, 19 Aug 2016 10:09:53 +0100 Subject: [PATCH] Added extra HYDRO_EXTRA_LOOP check in runner.c to make non GIZMO SPH versions compile. --- src/runner.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/runner.c b/src/runner.c index b851ea84dd..b3f8feb747 100644 --- a/src/runner.c +++ b/src/runner.c @@ -436,6 +436,7 @@ void runner_do_init(struct runner *r, struct cell *c, int timer) { * @param c The cell. */ void runner_do_extra_ghost(struct runner *r, struct cell *c) { +#ifdef HYDRO_EXTRA_LOOP struct part *restrict parts = c->parts; const int count = c->count; const int ti_current = r->e->ti_current; @@ -460,6 +461,7 @@ void runner_do_extra_ghost(struct runner *r, struct cell *c) { } } } +#endif } /** -- GitLab