1
0
mirror of https://github.com/kalmarek/GroupRings.jl.git synced 2024-12-28 18:50:29 +01:00

update eltype

This commit is contained in:
kalmarek 2017-11-17 15:25:42 +01:00
parent b2ed850bcc
commit 9a1bb2e707

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