Skip to content

Commit 2b08faa

Browse files
Fix exit condition after G.E.
1 parent d98c452 commit 2b08faa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FindAFactor/_find_a_factor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,7 @@ struct Factorizer {
10001000

10011001
// If this actually contends, we'll exit now.
10021002
batchMutex.lock();
1003-
if (isIncomplete) {
1003+
if (!isIncomplete) {
10041004
break;
10051005
}
10061006
}

0 commit comments

Comments
 (0)