From 07514b288f708082430304f3d8b934fb3e2a821f Mon Sep 17 00:00:00 2001 From: Breakinbad Date: Tue, 7 Sep 2021 13:39:24 -0500 Subject: [PATCH] Update Refine.cpp --- lonestar/analytics/cpu/bipart/Refine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lonestar/analytics/cpu/bipart/Refine.cpp b/lonestar/analytics/cpu/bipart/Refine.cpp index 5286c7cbc7..112dc06277 100644 --- a/lonestar/analytics/cpu/bipart/Refine.cpp +++ b/lonestar/analytics/cpu/bipart/Refine.cpp @@ -268,7 +268,7 @@ void parallel_make_balance(GGraph& g, float tol, int p) { int d = gain * 10.0f; int idx = 10 - d; nodelistz[idx].push(n); - } else if (gain >= -9.0f) { + } else if (gain > -9.0f) { int d = gain * 10.0f - 1; int idx = 10 - d; nodelistz[idx].push(n);