Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed Apr 8, 2022
1 parent 3e23019 commit f98b174
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/gcd.jl
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,6 @@ function Base.gcd(p1::APL{T}, p2::APL{S}, algo::AbstractUnivariateGCDAlgorithm=G
return inflate(g, shift, defl)::MA.promote_operation(gcd, typeof(p1), typeof(p2))
end

function Base.gcd(t1::AbstractTermLike{T}, t2::AbstractTermLike{S}, algo::AbstractUnivariateGCDAlgorithm=GeneralizedEuclideanAlgorithm()) where {T, S}
return term(gcd(coefficient(t1), coefficient(t2)), gcd(monomial(t1), monomial(t2)))
end
function Base.gcd(t1::AbstractTermLike{T}, t2::AbstractTermLike{S}, algo::AbstractUnivariateGCDAlgorithm=GeneralizedEuclideanAlgorithm()) where {T, S}
return term(_coefficient_gcd(coefficient(t1), coefficient(t2)), gcd(monomial(t1), monomial(t2)))
end
Expand Down

0 comments on commit f98b174

Please sign in to comment.