Skip to content

Commit

Permalink
Fix duplicate code
Browse files Browse the repository at this point in the history
No functional change
  • Loading branch information
Nonlinear2 committed Dec 8, 2024
1 parent a8b6bf1 commit 60b6133
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 60b6133

Please sign in to comment.