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