1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-05-02 01:29:36 +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(); 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)
{
if (PvNode)
Eval::NNUE::hint_common_parent_position(pos); 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