From 6d6b9bc1ef7ad607eed907f92e5bc02d94dfd57a Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <schaller@strw.leidenuniv.nl>
Date: Wed, 14 Nov 2018 17:46:46 +0100
Subject: [PATCH] Revert "Version that can survive the addition of one
 particle."

This reverts commit e44d0632b706d7c65a077fbd90c9f3b4503ffa51.
---
 src/cell.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/cell.c b/src/cell.c
index 5873616d74..925b6422a8 100644
--- a/src/cell.c
+++ b/src/cell.c
@@ -3685,8 +3685,8 @@ void cell_recursively_shift_sparts(struct cell *c, struct cell *const target_cel
 
   if( c->stars.parts < start || (c->stars.parts == start &&  c < target_cell)) {
 
-    /* if(c->stars.parts + c->stars.count > start) */
-    /*   c->stars.parts++; */
+    if(c->stars.parts + c->stars.count > start)
+      c->stars.parts++;
     
   /* Abort if we are in a cell before the point where we want to start
      the memory shift */
-- 
GitLab