From 674fa9f9d3ab1dda94918ee7233fce143d2fe14f Mon Sep 17 00:00:00 2001 From: kalmar Date: Wed, 12 Jul 2017 21:10:31 +0200 Subject: [PATCH] never access parent filed directly --- src/DirectProducts.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DirectProducts.jl b/src/DirectProducts.jl index dce8f4b..f324b29 100644 --- a/src/DirectProducts.jl +++ b/src/DirectProducts.jl @@ -98,7 +98,7 @@ function hash(G::DirectProductGroup, h::UInt) end function hash(g::DirectProductGroupElem, h::UInt) - return hash(g.elts, hash(g.parent, hash(DirectProductGroupElem, h))) + return hash(g.elts, hash(parent(g), hash(DirectProductGroupElem, h))) end doc"""