From c1e2d4209adb1319d286bc01eb945056af1745b7 Mon Sep 17 00:00:00 2001 From: kalmar Date: Sun, 16 Jul 2017 21:45:24 +0200 Subject: [PATCH] to match e.g. sparse and dense zeros... ugly --- src/GroupRings.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GroupRings.jl b/src/GroupRings.jl index 4985965..fdaf728 100644 --- a/src/GroupRings.jl +++ b/src/GroupRings.jl @@ -167,7 +167,7 @@ function deepcopy_internal(X::GroupRingElem, dict::ObjectIdDict) end function hash(X::GroupRingElem, h::UInt) - return hash(X.coeffs, hash(parent(X), h)) + return hash(full(X.coeffs), hash(parent(X), hash(GroupRingElem, h))) end function getindex(X::GroupRingElem, n::Int)