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
This commit is contained in:
FauziAkram
2025-01-25 23:54:09 +03:00
committed by Disservin
parent 27e747d1d7
commit 69be04d38e

View File

@@ -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;
}