Skip to content

Commit

Permalink
plug dead kangaroo errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ZenulAbidin committed Apr 5, 2021
1 parent ac0937e commit 6239cfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HashTable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ void HashTable::ReAllocate(uint64_t h,uint32_t add) {
}

int HashTable::Add(int256_t *x,int256_t *d, uint32_t type) {
uint64_t h = (x->i64[0] ^ x->i64[1] ^ x->i64[2] ^ x->i64[3]) % HASH_SIZE;
uint64_t h = (x->i64[0] ^ x->i64[1] ^ x->i64[2] ^ x->i64[3]) & HASH_SIZE;
ENTRY *e = CreateEntry(x,d,type);
return Add(h,e);

Expand Down

0 comments on commit 6239cfa

Please sign in to comment.