From 97f98762c044cecf2119ef6ea25fee62f18c6d5d Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <matthieu.schaller@durham.ac.uk>
Date: Wed, 8 Aug 2018 13:24:18 +0100
Subject: [PATCH] Allow the code to run again with periodic gravity

---
 examples/main.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/examples/main.c b/examples/main.c
index 773accc461..a468cddc87 100644
--- a/examples/main.c
+++ b/examples/main.c
@@ -720,11 +720,6 @@ int main(int argc, char *argv[]) {
       fflush(stdout);
     }
 
-#ifdef WITH_MPI
-    if (periodic && with_self_gravity)
-      error("Periodic self-gravity over MPI temporarily disabled.");
-#endif
-
 #if defined(WITH_MPI) && defined(HAVE_VELOCIRAPTOR)
     if (with_structure_finding) error("VEOCIraptor not yet enabled over MPI.");
 #endif
-- 
GitLab