Skip to content

Commit 3ecbd77

Browse files
Update src/generic/UnivPoly.jl
Co-authored-by: Max Horn <[email protected]>
1 parent 653f220 commit 3ecbd77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generic/UnivPoly.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ base_ring_type(::Type{<:UniversalPolyRing{T}}) where T = mpoly_ring_type(T)
1414
base_ring(S::UniversalPolyRing) = S.mpoly_ring::base_ring_type(S)
1515

1616
coefficient_ring_type(::Type{<:UniversalPolyRing{T}}) where T = parent_type(T)
17-
coefficient_ring(S::UniversalPolyRing) = base_ring(base_ring(S))::coefficient_ring_type(S)
17+
coefficient_ring(S::UniversalPolyRing) = coefficient_ring(base_ring(S))::coefficient_ring_type(S)
1818

1919
function is_domain_type(::Type{<:UnivPoly{S}}) where {S <: RingElement}
2020
return is_domain_type(S)

0 commit comments

Comments
 (0)