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:
parent
d53051a349
commit
ec39853e92
@ -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
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user