construct parent object on the fly
This commit is contained in:
parent
8631e5d16b
commit
78eded0124
|
@ -32,7 +32,7 @@ elem_type(G::DirectProductGroup) = DirectProductGroupElem
|
|||
|
||||
parent_type(::Type{DirectProductGroupElem}) = DirectProductGroup
|
||||
|
||||
parent(g::DirectProductGroupElem) = g.parent
|
||||
parent(g::DirectProductGroupElem) = DirectProductGroup([parent(h) for h in g.elts])
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue