Skip to content

Commit 6b9b404

Browse files
authored
fix typo.
1 parent 68afaf1 commit 6b9b404

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Primes.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ julia> isprime(big(3))
177177
true
178178
```
179179
"""
180-
isprime(x::BigInt, reps=25) = is_probably_prime(x, reps)
180+
isprime(x::BigInt, reps=25) = is_probably_prime(x; reps=reps)
181181

182182
# Miller-Rabin witness choices based on:
183183
# http://mathoverflow.net/questions/101922/smallest-collection-of-bases-for-prime-testing-of-64-bit-numbers

0 commit comments

Comments
 (0)