Skip to content

Commit 5f9adba

Browse files
authored
Remove duplicate vars(::UnivPoly) implementation (Nemocas#2219)
1 parent 5371d6c commit 5f9adba

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/generic/UnivPoly.jl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,6 @@ number_of_generators(S::UniversalPolyRing) = number_of_generators(mpoly_ring(S))
4040

4141
symbols(S::UniversalPolyRing) = symbols(mpoly_ring(S))
4242

43-
function vars(p::UnivPoly{T}) where {T}
44-
S = parent(p)
45-
V = vars(data(p))
46-
return [UnivPoly{T}(v, S) for v in V]
47-
end
48-
4943
internal_ordering(p::UniversalPolyRing) = internal_ordering(mpoly_ring(p))
5044

5145
data(p::UnivPoly{T}) where {T<:RingElement} = p.p::mpoly_type(T)

0 commit comments

Comments
 (0)