Skip to content

Commit 8df4cd2

Browse files
committed
Fix parenthesis issue
gcc: * in boolean context, suggest & instead
1 parent 1de76b8 commit 8df4cd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libgalois/include/galois/worklists/AdaptiveObim.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ struct AdaptiveOrderedByIntegerMetric
297297

298298
inline bool isSlowPopFreq(double threshold) {
299299
// return ((double)slowPopsLastPeriod / (double)popsLastFix) > threshold;
300-
return ((double)slowPopsLastPeriod > (double)popsLastFix) * threshold;
300+
return (double)slowPopsLastPeriod > ((double)popsLastFix * threshold);
301301
}
302302

303303
ThreadData(Index initial)

0 commit comments

Comments
 (0)