From d668574805fb269555f393e59cb82732ab984e4e Mon Sep 17 00:00:00 2001 From: kalmar Date: Fri, 21 Jul 2017 16:03:26 +0200 Subject: [PATCH] parent is constructable, don't use it in hash --- src/WreathProducts.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WreathProducts.jl b/src/WreathProducts.jl index ca02615..e8dc4b5 100644 --- a/src/WreathProducts.jl +++ b/src/WreathProducts.jl @@ -126,7 +126,7 @@ function hash(G::WreathProduct, h::UInt) end function hash(g::WreathProductElem, h::UInt) - return hash(g.n, hash(g.p, hash(parent(g), h))) + return hash(g.n, hash(g.p, hash(WreathProductElem, h))) end ###############################################################################