mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 09:37:16 +08:00
Don't save eval score in TT
This patch completes the removal of eval info in TT table. No functional change.
This commit is contained in:
@@ -82,7 +82,7 @@ void TranspositionTable::clear() {
|
||||
/// more valuable than a TTEntry t2 if t1 is from the current search and t2 is from
|
||||
/// a previous search, or if the depth of t1 is bigger than the depth of t2.
|
||||
|
||||
void TranspositionTable::store(const Key posKey, Value v, Bound t, Depth d, Move m, Value statV, Value kingD) {
|
||||
void TranspositionTable::store(const Key posKey, Value v, Bound t, Depth d, Move m) {
|
||||
|
||||
int c1, c2, c3;
|
||||
TTEntry *tte, *replace;
|
||||
@@ -98,7 +98,7 @@ void TranspositionTable::store(const Key posKey, Value v, Bound t, Depth d, Move
|
||||
if (m == MOVE_NONE)
|
||||
m = tte->move();
|
||||
|
||||
tte->save(posKey32, v, t, d, m, generation, statV, kingD);
|
||||
tte->save(posKey32, v, t, d, m, generation);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -110,7 +110,7 @@ void TranspositionTable::store(const Key posKey, Value v, Bound t, Depth d, Move
|
||||
if (c1 + c2 + c3 > 0)
|
||||
replace = tte;
|
||||
}
|
||||
replace->save(posKey32, v, t, d, m, generation, statV, kingD);
|
||||
replace->save(posKey32, v, t, d, m, generation);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user