Skip to content

Commit cf10644

Browse files
authoredDec 8, 2024··
Fix duplicate code (official-stockfish#5711)
closes official-stockfish#5711 No functional change
1 parent a8b6bf1 commit cf10644

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
 

‎src/search.cpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -1041,9 +1041,7 @@ Value Search::Worker::search(
10411041
{
10421042
if (bestValue <= futilityValue && !is_decisive(bestValue)
10431043
&& !is_win(futilityValue))
1044-
if (bestValue <= futilityValue && !is_decisive(bestValue)
1045-
&& !is_win(futilityValue))
1046-
bestValue = futilityValue;
1044+
bestValue = futilityValue;
10471045
continue;
10481046
}
10491047

0 commit comments

Comments
 (0)
Please sign in to comment.