Skip to content

Commit 2844219

Browse files
peregrineshahinvondele
authored andcommitted
Clean up after "Simplify away complexity in evaluation"
closes #4555 No functional change.
1 parent 2429e16 commit 2844219

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/search.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -724,11 +724,8 @@ namespace {
724724
ss->staticEval = eval = tte->eval();
725725
if (eval == VALUE_NONE)
726726
ss->staticEval = eval = evaluate(pos);
727-
else
728-
{
729-
if (PvNode)
730-
Eval::NNUE::hint_common_parent_position(pos);
731-
}
727+
else if (PvNode)
728+
Eval::NNUE::hint_common_parent_position(pos);
732729

733730
// ttValue can be used as a better position evaluation (~7 Elo)
734731
if ( ttValue != VALUE_NONE

0 commit comments

Comments
 (0)