From 73d8876bd6b6a6e9adbe2cf3337aad609ba4e477 Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <matthieu.schaller@durham.ac.uk>
Date: Thu, 3 Aug 2017 19:01:49 +0100
Subject: [PATCH] Removed outdated debugging checks that what re-introduced by
 an automatic merge.

---
 src/scheduler.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/scheduler.c b/src/scheduler.c
index 1a1d36d98..813bf9ad9 100644
--- a/src/scheduler.c
+++ b/src/scheduler.c
@@ -1347,11 +1347,6 @@ void scheduler_enqueue(struct scheduler *s, struct task *t) {
         } else if (t->subtype == task_subtype_xv ||
                    t->subtype == task_subtype_rho ||
                    t->subtype == task_subtype_gradient) {
-#ifdef SWIFT_DEBUG_CHECKS
-          for (int k = 0; k < t->ci->count; k++)
-            if (t->ci->parts[k].ti_drift != s->space->e->ti_current)
-              error("Sending un-drifted particle !");
-#endif
           err = MPI_Isend(t->ci->parts, t->ci->count, part_mpi_type,
                           t->cj->nodeID, t->flags, MPI_COMM_WORLD, &t->req);
           // message( "sending %i parts with tag=%i from %i to %i." ,
-- 
GitLab