1
0
mirror of https://github.com/kalmarek/GroupRings.jl.git synced 2024-07-30 06:05:31 +02:00

type parametrised parent, parent_type

This commit is contained in:
kalmar 2017-05-17 11:30:35 +02:00
parent d53051a349
commit ec39853e92

View File

@ -43,9 +43,9 @@ export GroupRing, GroupRingElem
elem_type(::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
############################################################################### ###############################################################################
# #