Skip to content

Commit

Permalink
Update Refine.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Breakinbad authored Sep 7, 2021
1 parent b6605ed commit 07514b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lonestar/analytics/cpu/bipart/Refine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 07514b2

Please sign in to comment.