Skip to content

Commit

Permalink
Simplify cutoffCnt further
Browse files Browse the repository at this point in the history
Based off [Simplify cutoffCnt](69be04d) commit

Original
[commit](kennethlee33@a77a895)
adding extension condition seems to not be improving strength anymore

Passed STC:
LLR: 2.93 (-2.94,2.94) <-1.75,0.25>
Total: 54176 W: 14331 L: 14125 D: 25720
Ptnml(0-2): 261, 6340, 13676, 6554, 257
https://tests.stockfishchess.org/tests/view/679edb7c0774dfd78deb0eed

Passed LTC:
LLR: 2.95 (-2.94,2.94) <-1.75,0.25>
Total: 267198 W: 68148 L: 68179 D: 130871
Ptnml(0-2): 232, 30051, 73055, 30038, 223
https://tests.stockfishchess.org/tests/view/679ef2c70774dfd78deb0f43

closes #5851

Bench: 3119355
  • Loading branch information
kennethlee33 authored and Disservin committed Feb 4, 2025
1 parent 9ed1725 commit 09623ab
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 @@ -1348,7 +1348,7 @@ Value Search::Worker::search(

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

0 comments on commit 09623ab

Please sign in to comment.