Permalink
Browse files

readme: another fix to hash example

  • Loading branch information...
1 parent ad368a2 commit 84e178fbe50809f6c5a42cd7f31bd599c33f7fed @funny-falcon funny-falcon committed Oct 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -77,7 +77,7 @@ unbeatably good spreading with sumbur:
```ruby
def unsigned_32bit_hashof(id)
- h = id * 0x531a5229 & 0xffffffff
+ h = ((id+1) * 0x531a5229) & 0xffffffff
end
```

0 comments on commit 84e178f

Please sign in to comment.