Skip to content

Commit

Permalink
Remove bad base_ring methods again
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Feb 22, 2024
1 parent 5283b45 commit f961939
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/poly/poly.jl
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ export ordering_lp, ordering_ip, ordering_dp, ordering_Dp, ordering_wp, ordering
parent(p::SPolyUnion) = p.parent

base_ring(R::PolyRing{T}) where T <: Nemo.RingElem = R.base_ring::parent_type(T)
base_ring(R::PolyRing{N_Field{T}}) where T <: Nemo.RingElem = R.base_ring::parent_type(T)
base_ring(R::PolyRing{N_Ring{T}}) where T <: Nemo.RingElem = R.base_ring::parent_type(T)

base_ring(p::spoly) = base_ring(parent(p))

Expand Down

0 comments on commit f961939

Please sign in to comment.