From 4fa7d744c24d8a58c92589837cb15910a79ab14f Mon Sep 17 00:00:00 2001 From: kalmar Date: Fri, 21 Jul 2017 13:36:39 +0200 Subject: [PATCH] parent(WreathProductElem) is now computed on the fly ==> slow --- src/WreathProducts.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WreathProducts.jl b/src/WreathProducts.jl index 6b294e0..12816d9 100644 --- a/src/WreathProducts.jl +++ b/src/WreathProducts.jl @@ -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)) ############################################################################### #