1
0
mirror of https://github.com/kalmarek/GroupRings.jl.git synced 2024-11-13 13:05:27 +01: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 end
function hash(X::GroupRingElem, h::UInt) 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 end
function getindex(X::GroupRingElem, n::Int) function getindex(X::GroupRingElem, n::Int)