From aad2907c5108ed33f354f7ed9bb724c39c0fe4fd Mon Sep 17 00:00:00 2001 From: kalmar Date: Fri, 21 Jul 2017 17:14:55 +0200 Subject: [PATCH] fix: WreathProductElem is typed only after GroupElem --- src/WreathProducts.jl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/WreathProducts.jl b/src/WreathProducts.jl index ccacb9b..5a727a6 100644 --- a/src/WreathProducts.jl +++ b/src/WreathProducts.jl @@ -49,8 +49,7 @@ end # ############################################################################### -elem_type{T<:Group}(G::WreathProduct{T}) = - WreathProductElem{G.N.n, elem_type(T)} +elem_type{T<:Group}(G::WreathProduct{T}) = WreathProductElem{elem_type(T)} parent_type{T<:GroupElem}(::WreathProductElem{T}) = WreathProduct{parent_type(T)}