Skip to content

Commit 4fdd15b

Browse files
Clearer warning message
1 parent e64831f commit 4fdd15b

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
@@ -1196,7 +1196,7 @@ std::string find_a_factor(const std::string &toFactorStr, const bool &isConOfSqr
11961196
}
11971197
}
11981198
if (smoothPrimes.size() < maxPrimeCount) {
1199-
std::cout << "Warning: Factor base was truncated to " << smoothPrimes.size() << ". If you don't want it truncated, set the trial division level option higher." << std::endl;
1199+
std::cout << "Warning: Factor base was truncated to " << smoothPrimes.size() << " factors. If you don't want it truncated, set the trial division level option higher." << std::endl;
12001200
}
12011201
// From 1, this is a period for wheel factorization
12021202
size_t biggestWheel = 1ULL;

0 commit comments

Comments
 (0)