Skip to content

Commit

Permalink
Simplify Cutnode Reduction
Browse files Browse the repository at this point in the history
Passed Non-regression STC:
LR: 2.96 (-2.94,2.94) <-1.75,0.25>
Total: 143968 W: 37439 L: 37333 D: 69196
Ptnml(0-2): 521, 17228, 36456, 17182, 597
https://tests.stockfishchess.org/tests/view/66a73f9f4ff211be9d4ed27f

Passed Non-regression LTC:
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 198954 W: 50384 L: 50345 D: 98225
Ptnml(0-2): 201, 22360, 54347, 22337, 232
https://tests.stockfishchess.org/tests/view/66a906e94ff211be9d4ed423

closes #5526

bench 1277466
  • Loading branch information
xu-shawn authored and vondele committed Aug 3, 2024
1 parent b976f0a commit ae9e55c
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 @@ -1133,7 +1133,7 @@ Value Search::Worker::search(

// Increase reduction for cut nodes (~4 Elo)
if (cutNode)
r += 2 - (ttData.depth >= depth && ss->ttPv) + (!ss->ttPv && move != ttData.move);
r += 2 - (ttData.depth >= depth && ss->ttPv) + !ss->ttPv;

// Increase reduction if ttMove is a capture (~3 Elo)
if (ttCapture)
Expand Down

0 comments on commit ae9e55c

Please sign in to comment.