From ec39853e923870d9631626f4b029c0df90282e9d Mon Sep 17 00:00:00 2001 From: kalmar Date: Wed, 17 May 2017 11:30:35 +0200 Subject: [PATCH] type parametrised parent, parent_type --- src/GroupRings.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GroupRings.jl b/src/GroupRings.jl index 972fe98..266fd86 100644 --- a/src/GroupRings.jl +++ b/src/GroupRings.jl @@ -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 ############################################################################### #