mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2024-12-04 10:06:27 +01:00
never access parent filed directly
This commit is contained in:
parent
a3eeee0728
commit
674fa9f9d3
@ -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"""
|
||||
|
Loading…
Reference in New Issue
Block a user