diff --git a/src/DirectProducts.jl b/src/DirectProducts.jl index 9e8f45d..6bf5374 100644 --- a/src/DirectProducts.jl +++ b/src/DirectProducts.jl @@ -101,7 +101,7 @@ function deepcopy_internal(g::DirectProductGroupElem, dict::ObjectIdDict) end function hash(G::DirectProductGroup, h::UInt) - return hash(G.factors, hash(DirectProductGroup,h)) + return hash(G.group, hash(G.n, hash(DirectProductGroup,h))) end function hash(g::DirectProductGroupElem, h::UInt)