to match e.g. sparse and dense zeros... ugly

This commit is contained in:
kalmar 2017-07-16 21:45:24 +02:00
parent 8daa86df31
commit c1e2d4209a
1 changed files with 1 additions and 1 deletions

View File

@ -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)