We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 731b3a8 commit 18a9f76Copy full SHA for 18a9f76
1 file changed
include/CppCore/Math/Primes.h
@@ -217,7 +217,7 @@ namespace CppCore
217
if (n == x) return 1U; // n is a precomuted prime
218
if (n % x == 0U) return 0U; // precomputed prime is factor of n
219
}
220
- return (n < (size_t)13490929U) ? 1U : x; // covered by trial above (3673*3673=13490929)
+ return (n < 13490929U) ? 1U : x; // covered by trial above (3673*3673=13490929)
221
222
223
///////////////////////////////////////////////////////////////////////////////////////////
0 commit comments