Skip to content

Commit

Permalink
Actually use hashis_seed
Browse files Browse the repository at this point in the history
  • Loading branch information
staticfloat committed Oct 3, 2014
1 parent f9e76c2 commit 23da008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/hashing2.jl
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ end

const hashis_seed = Uint === Uint64 ? 0x88989f1fc7dea67d : 0xc7dea67d
function hash(s::IntSet, h::Uint)
h += uint(0x88989f1fc7dea67d)
h += uint(hashis_seed)
h += hash(s.fill1s)
filln = s.fill1s ? ~zero(eltype(s.bits)) : zero(eltype(s.bits))
for x in s.bits
Expand Down

0 comments on commit 23da008

Please sign in to comment.