1
0
mirror of https://github.com/kalmarek/GroupRings.jl.git synced 2024-07-08 08:44:11 +02:00

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

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)