Skip to content

Commit

Permalink
Fix gcd (#1799)
Browse files Browse the repository at this point in the history
  • Loading branch information
joschmitt authored Oct 7, 2024
1 parent 76c7d35 commit 96c82d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Poly.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1873,8 +1873,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

Expand Down

0 comments on commit 96c82d5

Please sign in to comment.