Skip to content

Commit d002010

Browse files
authored
Update IntegerMathUtils.jl
1 parent e372545 commit d002010

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/IntegerMathUtils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function find_exponent(x::Integer)
4242
1
4343
end
4444

45-
function is_probably_prime(x::Integer, reps=25)
45+
function is_probably_prime(x::Integer; reps=25)
4646
return ccall((:__gmpz_probab_prime_p, :libgmp), Cint, (Ref{BigInt}, Cint), x, reps) != 0
4747
end
4848

0 commit comments

Comments
 (0)