diff --git a/src/Poly.jl b/src/Poly.jl index 2bacc1643f..3ff9e15870 100644 --- a/src/Poly.jl +++ b/src/Poly.jl @@ -1886,8 +1886,8 @@ function gcd(a::PolyRingElem{T}, b::PolyRingElem{T}, ignore_content::Bool = fals end end b = divexact(b, content(b)) + b = c*b end - b = c*b return divexact(b, canonical_unit(leading_coefficient(b))) end