From 69be04d38e10003853e78e4aa2b32aa252a82850 Mon Sep 17 00:00:00 2001 From: FauziAkram Date: Sat, 25 Jan 2025 23:54:09 +0300 Subject: [PATCH] Simplify cutoffCnt Passed STC: LLR: 2.94 (-2.94,2.94) <-1.75,0.25> Total: 235872 W: 61156 L: 61155 D: 113561 Ptnml(0-2): 843, 28269, 59658, 28376, 790 https://tests.stockfishchess.org/tests/view/6794dd3e4f7de645171fb380 Passed LTC: LLR: 2.94 (-2.94,2.94) <-1.75,0.25> Total: 61494 W: 15644 L: 15462 D: 30388 Ptnml(0-2): 61, 6822, 16788, 7026, 50 https://tests.stockfishchess.org/tests/view/6794f86a406a4efe9eb7d093 closes https://github.com/official-stockfish/Stockfish/pull/5821 Bench: 2168937 --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index ab8825f8..31620188 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1328,7 +1328,7 @@ moves_loop: // When in check, search starts here if (value >= beta) { - ss->cutoffCnt += !ttData.move + (extension < 2); + ss->cutoffCnt += (extension < 2); assert(value >= beta); // Fail high break; }