1
0
mirror of https://github.com/kalmarek/GroupRings.jl.git synced 2024-08-02 14:48:27 +02: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 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 parent(g::GroupRingElem) = g.parent