mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2024-12-12 15:16:27 +01:00
concrete updates to elem_type, parent_type
This commit is contained in:
parent
fa996d68fb
commit
a6f0685313
@ -45,9 +45,11 @@ end
|
|||||||
#
|
#
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
elem_type(::WreathProduct) = WreathProductElem
|
elem_type{T<:Group}(G::WreathProduct{T}) =
|
||||||
|
WreathProductElem{G.N.n, elem_type(T)}
|
||||||
|
|
||||||
parent_type(::WreathProductElem) = WreathProduct
|
parent_type{T<:GroupElem}(::WreathProductElem{T}) =
|
||||||
|
WreathProduct{parent_type(T)}
|
||||||
|
|
||||||
parent(g::WreathProductElem) = g.parent
|
parent(g::WreathProductElem) = g.parent
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user