diff --git a/src/GroupRings.jl b/src/GroupRings.jl index 6fb6f32..1b1e1f4 100644 --- a/src/GroupRings.jl +++ b/src/GroupRings.jl @@ -76,7 +76,7 @@ export GroupRing, GroupRingElem, complete!, create_pm, star elem_type(::Type{GroupRing}) = GroupRingElem -eltype(X::GroupRingElem) = eltype(X.coeffs) +eltype(::Type{GroupRingElem{T, A, Gr}}) where {T, A, Gr} = T parent(g::GroupRingElem) = g.parent