Skip to content

Commit 2bc128b

Browse files
committed
Fix type signature
1 parent 7275f84 commit 2bc128b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generic/MPoly.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,7 @@ function Base.length(x::Union{MPolyCoeffs, MPolyExponentVectors, MPolyTerms, MPo
873873
return length(x.poly)
874874
end
875875

876-
function Base.eltype(::Type{MPolyCoeffs{T}}) where T <: AbstractAlgebra.MPolyRingElem{S} where S <: RingElement
876+
function Base.eltype(::Type{MPolyCoeffs{T, S}}) where {T <: AbstractAlgebra.MPolyRingElem, S <: RingElement}
877877
return S
878878
end
879879

0 commit comments

Comments
 (0)