From 0d61877ea3bcf7d194a8d9676ffd318ea5d7eb34 Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <schaller@strw.leidenuniv.nl>
Date: Sun, 21 Jun 2020 16:49:09 +0200
Subject: [PATCH] Also update the call to the stats dump done when
 repartitioning

---
 src/engine.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/engine.c b/src/engine.c
index 15bc1b8ba7..04ae1b2f59 100644
--- a/src/engine.c
+++ b/src/engine.c
@@ -199,8 +199,9 @@ void engine_repartition(struct engine *e) {
 
   /* Generate the fixed costs include file. */
   if (e->step > 3 && e->reparttype->trigger <= 1.f) {
-    task_dump_stats("partition_fixed_costs.h", e, /* header = */ 1,
-                    /* allranks = */ 1);
+    task_dump_stats("partition_fixed_costs.h", e,
+                    /* task_dump_threshold = */ 0.f,
+                    /* header = */ 1, /* allranks = */ 1);
   }
 
   /* Do the repartitioning. */
-- 
GitLab