mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2024-11-19 06:30:29 +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
|
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"""
|
||||||
|
Loading…
Reference in New Issue
Block a user