mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-06 10:53:50 +08:00
Remove non-functional std::min()
closes https://github.com/official-stockfish/Stockfish/pull/5749 No functional change
This commit is contained in:
@@ -1160,7 +1160,7 @@ moves_loop: // When in check, search starts here
|
||||
|
||||
r += 330;
|
||||
|
||||
r -= std::min(std::abs(correctionValue) / 32768, 2048);
|
||||
r -= std::abs(correctionValue) / 32768;
|
||||
|
||||
// Increase reduction for cut nodes (~4 Elo)
|
||||
if (cutNode)
|
||||
|
||||
Reference in New Issue
Block a user