From 2bc335b9d8bd33ce768eda238ba9b2c322e764a5 Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <schaller@strw.leidenuniv.nl>
Date: Sun, 21 Oct 2018 21:02:23 +0200
Subject: [PATCH] Removed the debugging forced repart every 5 steps.

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

diff --git a/src/engine.c b/src/engine.c
index 6e0d788261..88d59f25ee 100644
--- a/src/engine.c
+++ b/src/engine.c
@@ -1383,11 +1383,6 @@ void engine_repartition_trigger(struct engine *e) {
 
 #ifdef WITH_MPI
 
-  if (e->step > 2 && e->step % 5 == 0) {
-    e->forcerepart = 1;
-    return;
-  }
-
   /* Do nothing if there have not been enough steps since the last
    * repartition, don't want to repeat this too often or immediately after
    * a repartition step. Also nothing to do when requested. */
-- 
GitLab