1
0
mirror of https://github.com/kalmarek/Groups.jl.git synced 2024-12-04 18:11:26 +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
function hash(G::DirectProductGroup, h::UInt)
return hash(G.factors, hash(DirectProductGroup,h))
return hash(G.group, hash(G.n, hash(DirectProductGroup,h)))
end
function hash(g::DirectProductGroupElem, h::UInt)