mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-23 18:46:59 +08:00
Clean up after "Simplify away complexity in evaluation"
closes https://github.com/official-stockfish/Stockfish/pull/4555 No functional change.
This commit is contained in:
committed by
Joost VandeVondele
parent
2429e16289
commit
28442195c7
@@ -724,11 +724,8 @@ namespace {
|
|||||||
ss->staticEval = eval = tte->eval();
|
ss->staticEval = eval = tte->eval();
|
||||||
if (eval == VALUE_NONE)
|
if (eval == VALUE_NONE)
|
||||||
ss->staticEval = eval = evaluate(pos);
|
ss->staticEval = eval = evaluate(pos);
|
||||||
else
|
else if (PvNode)
|
||||||
{
|
Eval::NNUE::hint_common_parent_position(pos);
|
||||||
if (PvNode)
|
|
||||||
Eval::NNUE::hint_common_parent_position(pos);
|
|
||||||
}
|
|
||||||
|
|
||||||
// ttValue can be used as a better position evaluation (~7 Elo)
|
// ttValue can be used as a better position evaluation (~7 Elo)
|
||||||
if ( ttValue != VALUE_NONE
|
if ( ttValue != VALUE_NONE
|
||||||
|
|||||||
Reference in New Issue
Block a user