diff --git a/src/runner.c b/src/runner.c index bd0bf01a1e4dcdc5e4f3ceff50c54cc060fe8511..c1ac634eb752798005d551994a9306e3075052bc 100644 --- a/src/runner.c +++ b/src/runner.c @@ -3098,10 +3098,7 @@ void runner_do_timestep(struct runner *r, struct cell *c, int timer) { else { /* part is inactive */ /* Count the number of inhibited particles */ - if (part_is_inhibited(p, e)) { - inhibited++; - continue; - } + if (part_is_inhibited(p, e)) inhibited++; const integertime_t ti_end = get_integer_time_end(ti_current, p->time_bin); @@ -3170,10 +3167,7 @@ void runner_do_timestep(struct runner *r, struct cell *c, int timer) { } else { /* gpart is inactive */ /* Count the number of inhibited particles */ - if (gpart_is_inhibited(gp, e)) { - g_inhibited++; - continue; - } + if (gpart_is_inhibited(gp, e)) g_inhibited++; const integertime_t ti_end = get_integer_time_end(ti_current, gp->time_bin); @@ -3232,10 +3226,7 @@ void runner_do_timestep(struct runner *r, struct cell *c, int timer) { } else { /* Count the number of inhibited particles */ - if (spart_is_inhibited(sp, e)) { - ++s_inhibited; - continue; - } + if (spart_is_inhibited(sp, e)) ++s_inhibited; const integertime_t ti_end = get_integer_time_end(ti_current, sp->time_bin); @@ -3297,10 +3288,7 @@ void runner_do_timestep(struct runner *r, struct cell *c, int timer) { } else { /* Count the number of inhibited particles */ - if (bpart_is_inhibited(bp, e)) { - ++b_inhibited; - continue; - } + if (bpart_is_inhibited(bp, e)) ++b_inhibited; const integertime_t ti_end = get_integer_time_end(ti_current, bp->time_bin);