type parametrised parent, parent_type

This commit is contained in:
kalmar 2017-05-17 11:30:35 +02:00
parent d53051a349
commit ec39853e92
1 changed files with 2 additions and 2 deletions

View File

@ -43,9 +43,9 @@ export GroupRing, GroupRingElem
elem_type(::GroupRing) = GroupRingElem
parent_type(::GroupRingElem) = GroupRing
parent_type{T}(::GroupRingElem{T}) = GroupRing
parent(g::GroupRingElem) = g.parent
parent{T}(g::GroupRingElem{T}) = g.parent
###############################################################################
#