maybe fixed crashes | bench 1801941

This commit is contained in:
rektdie committed 2026-02-24 23:34:26 +01:00
1 parent eac21b424a
commit 64b2e3d9b1
5 files changed
+60 -28

No files matched your search

+2 -2
View File
@@ -2,7 +2,7 @@
TTable SharedTT;
void TTable::WriteEntry(U64 &hashKey, int depth, int score, int nodeType, Move bestMove, bool ttpv) {
void TTable::WriteEntry(const 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(U64 &hashKey, int depth, int score, int nodeType, Move b
current->depth = depth;
current->bestMove = bestMove;
current->ttpv = ttpv;
}
}