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:
parent
8daa86df31
commit
c1e2d4209a
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user