diff --git a/src/runner_doiact_vec.c b/src/runner_doiact_vec.c index 552aa8e9deef12c10f0561e12816e1b49af0266b..d1501787dc139f9a3e9e39c78ffda8dbdd15d200 100644 --- a/src/runner_doiact_vec.c +++ b/src/runner_doiact_vec.c @@ -989,10 +989,8 @@ void runner_dopair1_density_vec(struct runner *r, struct cell *ci, struct cell * /* Anything to do here? */ if (!cell_is_active(ci, e) && !cell_is_active(cj, e)) return; -#ifdef SWIFT_DEBUG_CHECKS - cell_is_drifted(ci, e); - cell_is_drifted(cj, e); -#endif + if (!cell_is_drifted(ci, e)) cell_drift_particles(ci, e); + if (!cell_is_drifted(cj, e)) cell_drift_particles(cj, e); /* Get the sort ID. */ double shift[3] = {0.0, 0.0, 0.0};