aboutsummaryrefslogtreecommitdiffstats
path: root/src/numthry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/numthry.cpp')
-rw-r--r--src/numthry.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/numthry.cpp b/src/numthry.cpp
index 4f74fdc59..2b900e96c 100644
--- a/src/numthry.cpp
+++ b/src/numthry.cpp
@@ -56,10 +56,12 @@ u32bit miller_rabin_test_iterations(u32bit bits, bool verify)
for(u32bit j = 0; tests[j].bits; ++j)
{
if(bits <= tests[j].bits)
+ {
if(verify)
return tests[j].verify_iter;
else
return tests[j].check_iter;
+ }
}
return 2;
}