From 4db717a9c7f3af121678aef7d30f30d43933c21c Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <matthieu.schaller@durham.ac.uk> Date: Wed, 26 Apr 2017 23:09:10 +0100 Subject: [PATCH] Removed too agressive debugging check --- src/cell.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/cell.c b/src/cell.c index 3f5e7c44e3..021a169008 100644 --- a/src/cell.c +++ b/src/cell.c @@ -1494,11 +1494,6 @@ void cell_drift_particles(struct cell *c, const struct engine *e) { struct part *const p = &parts[k]; struct xpart *const xp = &xparts[k]; -#ifdef SWIFT_DEBUG_CHECKS - if (p->density.wcount == 0.) - error("Attempting to drift a particle that has been initialised"); -#endif - /* Drift... */ drift_part(p, xp, dt, timeBase, ti_old, ti_current); -- GitLab