Skip to content

Commit ca0952b

Browse files
authored
typo
1 parent 24dca43 commit ca0952b

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
@@ -270,7 +270,7 @@ function factor!(n::T, h::AbstractDict{K,Int}) where {T<:Integer,K<:Integer}
270270
elseif n == 0
271271
h[n] = 1
272272
return h
273-
elseif n <= MIN_FACTOR
273+
elseif n <= length(MIN_FACTOR)
274274
while true
275275
n == 1 && return h
276276
if MIN_FACTOR[n]==1

0 commit comments

Comments
 (0)