1
0
mirror of https://github.com/kalmarek/Groups.jl.git synced 2024-09-13 08:25:39 +02:00

never access parent filed directly

This commit is contained in:
kalmar 2017-07-12 21:10:31 +02:00
parent a3eeee0728
commit 674fa9f9d3

View File

@ -98,7 +98,7 @@ function hash(G::DirectProductGroup, h::UInt)
end
function hash(g::DirectProductGroupElem, h::UInt)
return hash(g.elts, hash(g.parent, hash(DirectProductGroupElem, h)))
return hash(g.elts, hash(parent(g), hash(DirectProductGroupElem, h)))
end
doc"""