From 57f2c0c4e8fadc88223a89dfc49f8707d7e2cd04 Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <matthieu.schaller@durham.ac.uk>
Date: Wed, 2 Mar 2016 17:32:02 +0100
Subject: [PATCH] Stop means stop...

---
 examples/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/main.c b/examples/main.c
index a28faa628b..cebfe7f982 100644
--- a/examples/main.c
+++ b/examples/main.c
@@ -468,7 +468,7 @@ int main(int argc, char *argv[]) {
         "[ms]\n");
 
   /* Let loose a runner on the space. */
-  for (j = 0; e.time < time_end; j++) {
+  for (j = 0; e.ti_current < max_nr_timesteps; j++) {
 
 /* Repartition the space amongst the nodes? */
 #ifdef WITH_MPI
-- 
GitLab