Skip to content

Commit

Permalink
function arg type was too restrictive
Browse files Browse the repository at this point in the history
  • Loading branch information
rfourquet committed Jun 24, 2017
1 parent 5ffcbae commit 8702140
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Primes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ end
# given two found non-trivial factors a and b=n/a of n, apply
# recursively the algorithm (via `continuation!`) for the non-prime
# factors, otherwise update the factors list `h`
function recurse_with_subfactors!{T<:Integer}(a::T, b::T, h::Associative{T,Int}, multiplicity, continuation!)
function recurse_with_subfactors!{T<:Integer}(a::T, b::T, h::Associative, multiplicity, continuation!)
facts = Factorization{T}()
pairwise_coprime!(a, multiplicity, b, multiplicity, facts)
for (f, mult) in facts
Expand Down

0 comments on commit 8702140

Please sign in to comment.