Skip to content

Commit

Permalink
Simplify cutoffCnt
Browse files Browse the repository at this point in the history
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 #5821

Bench: 2168937
  • Loading branch information
FauziAkram authored and Disservin committed Jan 26, 2025
1 parent 27e747d commit 69be04d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1328,7 +1328,7 @@ Value Search::Worker::search(

if (value >= beta)
{
ss->cutoffCnt += !ttData.move + (extension < 2);
ss->cutoffCnt += (extension < 2);
assert(value >= beta); // Fail high
break;
}
Expand Down

0 comments on commit 69be04d

Please sign in to comment.