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

fix: parent_type, elem_type dispatch after type!

This commit is contained in:
kalmar 2017-07-25 14:35:09 +02:00
parent 14e9a8505c
commit 2c4a7561c4

View File

@ -77,9 +77,8 @@ export GroupRing, GroupRingElem, complete!, create_pm, star
#
###############################################################################
elem_type(::GroupRing) = GroupRingElem
elem_type(::Type{GroupRing}) = GroupRingElem
parent_type(::GroupRingElem) = GroupRing
parent_type(::Type{GroupRingElem}) = GroupRing
eltype(X::GroupRingElem) = eltype(X.coeffs)