Skip to content

Commit

Permalink
Fix duplicate code (official-stockfish#5711)
Browse files Browse the repository at this point in the history
closes official-stockfish#5711

No functional change
  • Loading branch information
Nonlinear2 authored Dec 8, 2024
1 parent a8b6bf1 commit cf10644
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1041,9 +1041,7 @@ Value Search::Worker::search(
{
if (bestValue <= futilityValue && !is_decisive(bestValue)
&& !is_win(futilityValue))
if (bestValue <= futilityValue && !is_decisive(bestValue)
&& !is_win(futilityValue))
bestValue = futilityValue;
bestValue = futilityValue;
continue;
}

Expand Down

0 comments on commit cf10644

Please sign in to comment.