Skip to content

Commit

Permalink
make 0.5 compatible (remove "where")
Browse files Browse the repository at this point in the history
  • Loading branch information
rfourquet committed Jun 24, 2017
1 parent 8702140 commit f567018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Primes.jl
Expand Up @@ -444,7 +444,7 @@ end
# populate facts with pairwise-coprimes divisors of a and b (with
# appropriate multiplicity) using repeated gcd applications, such
# that prod(facts) == a^ma*b^mb
function pairwise_coprime!(a::T, ma, b::T, mb, facts) where T
function pairwise_coprime!{T}(a::T, ma::Int, b::T, mb::Int, facts::Factorization)
a == b && (facts[a] += ma+mb;
return b)
d = gcd(a, b)
Expand Down

0 comments on commit f567018

Please sign in to comment.