Skip to content

Commit

Permalink
Check parents in == for FlintPuiseuxSeriesElem (#1891)
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin authored Oct 11, 2024
1 parent 0f5fb24 commit df3ab65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/flint/flint_puiseux_series.jl
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ end
###############################################################################

function ==(a::FlintPuiseuxSeriesElem{T}, b::FlintPuiseuxSeriesElem{T}) where T <: RingElement
check_parent(a, b)
s = gcd(a.scale, b.scale)
zscale = div(a.scale*b.scale, s)
ainf = div(a.scale, s)
Expand Down

0 comments on commit df3ab65

Please sign in to comment.