Skip to content

Commit

Permalink
Fix formatting (#316)
Browse files Browse the repository at this point in the history
Bench: 6097414
  • Loading branch information
cj5716 authored Jan 18, 2024
1 parent 0f6bb7c commit 77c6ca1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ttable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ void StoreHashEntry(const ZobristKey key, const int16_t move, int score, int16_t
int GetHashfull() {
int hit = 0;
for (int i = 0; i < 2000; i++) {
S_HashEntry *tte = &HashTable->pTable[i];
if (tte->tt_key != 0)
hit++;
S_HashEntry *tte = &HashTable->pTable[i];
if (tte->tt_key != 0)
hit++;
}
return hit/2;
return hit / 2;
}

uint64_t Index(const ZobristKey posKey) {
Expand Down

0 comments on commit 77c6ca1

Please sign in to comment.