update eltype

This commit is contained in:
kalmarek 2017-11-17 15:25:42 +01:00
parent b2ed850bcc
commit 9a1bb2e707
1 changed files with 1 additions and 1 deletions

View File

@ -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