mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 01:27:16 +08:00
Revert "Retire eval margin and gains"
This reverts commit ecd07e51d0.
Patch was incorrect and partial. It will be reapplied in
the correct form.
bench: 9189063
This commit is contained in:
@@ -89,7 +89,7 @@ const TTEntry* TranspositionTable::probe(const Key key) const {
|
||||
/// 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 key, Value v, Bound b, Depth d, Move m, Value statV) {
|
||||
void TranspositionTable::store(const Key key, Value v, Bound b, Depth d, Move m, Value statV, Value evalM) {
|
||||
|
||||
int c1, c2, c3;
|
||||
TTEntry *tte, *replace;
|
||||
@@ -117,5 +117,5 @@ void TranspositionTable::store(const Key key, Value v, Bound b, Depth d, Move m,
|
||||
replace = tte;
|
||||
}
|
||||
|
||||
replace->save(key32, v, b, d, m, generation, statV);
|
||||
replace->save(key32, v, b, d, m, generation, statV, evalM);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user