Commit 4db717a9 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Removed too agressive debugging check

parent 7544e7ca
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment