Skip to content

Commit

Permalink
Remove non-functional std::min()
Browse files Browse the repository at this point in the history
closes official-stockfish#5749

No functional change
  • Loading branch information
Ergodice authored and Disservin committed Jan 5, 2025
1 parent 1611b9c commit c76c179
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,7 @@ Value Search::Worker::search(

r += 330;

r -= std::min(std::abs(correctionValue) / 32768, 2048);
r -= std::abs(correctionValue) / 32768;

// Increase reduction for cut nodes (~4 Elo)
if (cutNode)
Expand Down

0 comments on commit c76c179

Please sign in to comment.