1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 08:43:09 +00: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:
peregrineshahin 2023-05-03 14:11:55 +03:00 committed by Joost VandeVondele
parent 2429e16289
commit 28442195c7

View file

@ -724,11 +724,8 @@ namespace {
ss->staticEval = eval = tte->eval();
if (eval == VALUE_NONE)
ss->staticEval = eval = evaluate(pos);
else
{
if (PvNode)
Eval::NNUE::hint_common_parent_position(pos);
}
else if (PvNode)
Eval::NNUE::hint_common_parent_position(pos);
// ttValue can be used as a better position evaluation (~7 Elo)
if ( ttValue != VALUE_NONE