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:
parent
7989967cc4
commit
610defe354
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user