We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7bfc04a commit 82eb47cCopy full SHA for 82eb47c
FindAFactor/_find_a_factor.cpp
@@ -776,7 +776,7 @@ struct Factorizer {
776
// This actually just goes ahead and FORCES
777
// the number into a "close-by" smooth perfect square.
778
const BigInteger candidate = makeSmooth(z * z);
779
- // We want two numbers multiplied together to be larger than toFactor.
+ // We want each number to be larger than toFactor.
780
if (candidate < toFactor) {
781
continue;
782
}
@@ -813,8 +813,6 @@ struct Factorizer {
813
if (smoothNumberKeys.size() > rowLimit) {
814
isIncomplete = false;
815
smoothNumberSet.clear();
816
-
817
- return 1U;
818
819
820
0 commit comments