From ac521a7fb9a1ff26d8ce601af63e973fd9a8742c Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <schaller@strw.leidenuniv.nl>
Date: Thu, 10 Oct 2019 18:08:09 +0200
Subject: [PATCH] Print more information in the check for limited particles.

---
 src/space.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/space.c b/src/space.c
index bcd9d49dab..d8986df02e 100644
--- a/src/space.c
+++ b/src/space.c
@@ -5298,8 +5298,8 @@ void space_check_limiter_mapper(void *map_data, int nr_parts,
       error("Particle still woken up! id=%lld", parts[k].id);
 
     if (parts[k].synchronized != 0)
-      error("Synchronized particle not treated! synchronized=%d",
-            parts[k].synchronized);
+      error("Synchronized particle not treated! id=%lld synchronized=%d",
+            parts[k].id, parts[k].synchronized);
 
     if (parts[k].gpart != NULL)
       if (parts[k].time_bin != parts[k].gpart->time_bin)
-- 
GitLab