1
0
mirror of https://github.com/kalmarek/Groups.jl.git synced 2024-12-05 02:11:27 +01: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 end
function hash(g::DirectProductGroupElem, h::UInt) 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 end
doc""" doc"""