summaryrefslogtreecommitdiff
path: root/math/squfof.cpp
diff options
context:
space:
mode:
authorMZuenni <michi.zuendorf@gmail.com>2023-03-01 12:50:38 +0100
committerMZuenni <michi.zuendorf@gmail.com>2023-03-01 12:50:38 +0100
commit24f0c12468a2d66dcae1a3204d949b195daffb38 (patch)
treee4692b055f15b596a9dab1c25af272a70f16c93a /math/squfof.cpp
parent12afe719ce268bb10aa93a910079a44eb08999b8 (diff)
added digit separator
Diffstat (limited to 'math/squfof.cpp')
-rw-r--r--math/squfof.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/math/squfof.cpp b/math/squfof.cpp
index 78bca73..1cb97de 100644
--- a/math/squfof.cpp
+++ b/math/squfof.cpp
@@ -64,7 +64,7 @@ lll squfof(lll N) {
exit(1);//try fallback to pollard rho
}
-constexpr lll trialLim = 5000;
+constexpr lll trialLim = 5'000;
void factor(lll n, map<lll, int>& facts) {
for (lll i = 2; i * i <= n && i <= trialLim; i++) {