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
1 changed files with 1 additions and 1 deletions

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))
###############################################################################
#