We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68afaf1 commit 6b9b404Copy full SHA for 6b9b404
src/Primes.jl
@@ -177,7 +177,7 @@ julia> isprime(big(3))
177
true
178
```
179
"""
180
-isprime(x::BigInt, reps=25) = is_probably_prime(x, reps)
+isprime(x::BigInt, reps=25) = is_probably_prime(x; reps=reps)
181
182
# Miller-Rabin witness choices based on:
183
# http://mathoverflow.net/questions/101922/smallest-collection-of-bases-for-prime-testing-of-64-bit-numbers
0 commit comments