1
0
mirror of https://github.com/kalmarek/Groups.jl.git synced 2024-12-04 10:06:27 +01:00

parent(WreathProductElem) is now computed on the fly ==> slow

This commit is contained in:
kalmar 2017-07-21 13:36:39 +02:00
parent a6f0685313
commit 4fa7d744c2

View File

@ -51,7 +51,7 @@ elem_type{T<:Group}(G::WreathProduct{T}) =
parent_type{T<:GroupElem}(::WreathProductElem{T}) =
WreathProduct{parent_type(T)}
parent(g::WreathProductElem) = g.parent
parent(g::WreathProductElem) = WreathProduct(parent(g.n[1]), parent(g.p))
###############################################################################
#