ttpv lmr | bench 6760868

This commit is contained in:
rektdie committed 2026-01-06 22:44:07 +01:00
1 parent 0df0921c47
commit 6ed9e882f8
4 files changed
+25 -15

No files matched your search

+2 -1
View File
@@ -1,6 +1,6 @@
#include "tt.h"
void TTable::WriteEntry(U64 &hashKey, int depth, int score, int nodeType, Move bestMove) {
void TTable::WriteEntry(U64 &hashKey, int depth, int score, int nodeType, Move bestMove, bool ttpv) {
TTEntry *current = &table[hashKey % table.size()];
current->hashKey = hashKey;
@@ -8,4 +8,5 @@ void TTable::WriteEntry(U64 &hashKey, int depth, int score, int nodeType, Move b
current->score = score;
current->depth = depth;
current->bestMove = bestMove;
current->ttpv = ttpv;
}