never access parent filed directly

This commit is contained in:
kalmar 2017-07-12 21:10:31 +02:00
parent a3eeee0728
commit 674fa9f9d3
1 changed files with 1 additions and 1 deletions

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"""