Skip to content

Commit

Permalink
Remove non-functional std::min()
Browse files Browse the repository at this point in the history
No functional change
  • Loading branch information
Ergodice authored and PikaCat-OuO committed Jan 6, 2025
1 parent 54f04cb commit 8bdfbec
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 @@ -1070,7 +1070,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 8bdfbec

Please sign in to comment.