parent is constructable, don't use it in hash

This commit is contained in:
kalmar 2017-07-21 16:03:26 +02:00
parent c60e5a8c5c
commit d668574805
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ function hash(G::WreathProduct, h::UInt)
end
function hash(g::WreathProductElem, h::UInt)
return hash(g.n, hash(g.p, hash(parent(g), h)))
return hash(g.n, hash(g.p, hash(WreathProductElem, h)))
end
###############################################################################