1
0
mirror of https://github.com/kalmarek/Groups.jl.git synced 2024-07-17 19:00:33 +02:00

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

View File

@ -126,7 +126,7 @@ function hash(G::WreathProduct, h::UInt)
end end
function hash(g::WreathProductElem, h::UInt) 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 end
############################################################################### ###############################################################################