summaryrefslogtreecommitdiff
path: root/test/math/millerRabin.cpp
diff options
context:
space:
mode:
authorGloria Mundi <gloria@gloria-mundi.eu>2024-11-16 21:17:29 +0100
committerGloria Mundi <gloria@gloria-mundi.eu>2024-11-16 21:17:29 +0100
commit1880ccb6d85c6eb79e724593457877bab431951c (patch)
tree23eddd5bd0b29b3024e170a5ef9023eda9226ab5 /test/math/millerRabin.cpp
parente95f59debd69ee7d45d5c966ce466d23264e1c3c (diff)
get rid of all() and sz()
Diffstat (limited to 'test/math/millerRabin.cpp')
-rw-r--r--test/math/millerRabin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/math/millerRabin.cpp b/test/math/millerRabin.cpp
index fd98586..725b744 100644
--- a/test/math/millerRabin.cpp
+++ b/test/math/millerRabin.cpp
@@ -87,7 +87,7 @@ void extra_tests() {
t.start();
auto got = isPrime(x);
t.stop();
- bool expected = sz(factors) == 1 && factors.begin()->second == 1;
+ bool expected = ssize(factors) == 1 && factors.begin()->second == 1;
if (got != expected) cerr << "error: " << x << FAIL;
}
if (t.time > 10) cerr << "too slow" << FAIL;