1
0
mirror of https://github.com/kalmarek/Groups.jl.git synced 2024-12-25 18:15:29 +01:00

use xor(,) instead of $

This commit is contained in:
kalmar 2017-07-04 17:16:06 +02:00
parent 9626d16da9
commit 1bfbd574ee

View File

@ -80,7 +80,7 @@ convert{T<:GSymbol}(::Type{GWord{T}}, s::T) = GWord{T}(T[s])
function hash(W::GWord, h::UInt) function hash(W::GWord, h::UInt)
W.modified && reduce!(W) W.modified && reduce!(W)
return W.savedhash $ h return xor(W.savedhash, h)
end end
function deepcopy_internal{T<:GSymbol}(W::GWord{T}, dict::ObjectIdDict) function deepcopy_internal{T<:GSymbol}(W::GWord{T}, dict::ObjectIdDict)