From c76c1793615b17b97dd504f8c81c1ff2c63c232a Mon Sep 17 00:00:00 2001 From: Daniel Monroe <39802758+Ergodice@users.noreply.github.com> Date: Sun, 5 Jan 2025 15:18:09 -0800 Subject: [PATCH] Remove non-functional std::min() closes https://github.com/official-stockfish/Stockfish/pull/5749 No functional change --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index f53c116c816..d6748c7696e 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -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)