Skip to content

Commit c7226db

Browse files
authored
typo
1 parent c1378d0 commit c7226db

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
@@ -257,7 +257,7 @@ function factor!(n::T, h::AbstractDict{K,Int}) where {T<:Integer,K<:Integer}
257257
for p in PRIMES
258258
p > nsqrt && break
259259
while true
260-
q, r == divrem(n, T(p)) # T(p) so julia <1.9 uses fast divrem for `BigInt`
260+
q, r = divrem(n, T(p)) # T(p) so julia <1.9 uses fast divrem for `BigInt`
261261
r == 0 || break
262262
h[p] = get(h, p, 0) + 1
263263
n = q

0 commit comments

Comments
 (0)