From 47f482cf05ac013a2a830fe803b95fba3a6abf08 Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <schaller@strw.leidenuniv.nl>
Date: Thu, 5 Mar 2020 09:02:21 +0800
Subject: [PATCH] Correct the message printed when metis is not in use and we
 report the imbalance

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

diff --git a/src/engine.c b/src/engine.c
index f821734653..8de7adea99 100644
--- a/src/engine.c
+++ b/src/engine.c
@@ -375,7 +375,7 @@ void engine_repartition_trigger(struct engine *e) {
 
         } else {
           /* Not repartitioning, would that have been done otherwise? */
-          if (e->verbose)
+          if (e->verbose) {
             if (balance > abs_trigger) {
               message("trigger fraction %.3f > %.3f would have repartitioned",
                       balance, abs_trigger);
@@ -384,6 +384,7 @@ void engine_repartition_trigger(struct engine *e) {
                   "trigger fraction %.3f =< %.3f would not have repartitioned",
                   balance, abs_trigger);
             }
+          }
         }
 
         /* Keep logs of all CPU times and resident memory size for debugging
-- 
GitLab