1
0
mirror of https://github.com/kalmarek/Groups.jl.git synced 2024-12-05 02:11:27 +01:00

update hash according to changes in type

This commit is contained in:
kalmar 2017-07-21 13:27:54 +02:00
parent 7989967cc4
commit 610defe354

View File

@ -101,7 +101,7 @@ function deepcopy_internal(g::DirectProductGroupElem, dict::ObjectIdDict)
end end
function hash(G::DirectProductGroup, h::UInt) function hash(G::DirectProductGroup, h::UInt)
return hash(G.factors, hash(DirectProductGroup,h)) return hash(G.group, hash(G.n, hash(DirectProductGroup,h)))
end end
function hash(g::DirectProductGroupElem, h::UInt) function hash(g::DirectProductGroupElem, h::UInt)