Revert "maybe fixed crashes | bench 1801941"
This reverts commit 64b2e3d9b1.
This commit is contained in:
1 parent
64b2e3d9b1
commit
079959e6d4
5 files changed
+28
-60
No files matched your search
+2
-2
@@ -2,7 +2,7 @@
|
||||
|
||||
TTable SharedTT;
|
||||
|
||||
void TTable::WriteEntry(const U64 &hashKey, int depth, int score, int nodeType, Move bestMove, bool ttpv) {
|
||||
void TTable::WriteEntry(U64 &hashKey, int depth, int score, int nodeType, Move bestMove, bool ttpv) {
|
||||
TTBucket *bucket = &table[hashKey % table.size()];
|
||||
TTEntry *current = nullptr;
|
||||
|
||||
@@ -24,4 +24,4 @@ void TTable::WriteEntry(const U64 &hashKey, int depth, int score, int nodeType,
|
||||
current->depth = depth;
|
||||
current->bestMove = bestMove;
|
||||
current->ttpv = ttpv;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user