Skip to content

Commit 9587eee

Browse files
locutus2snicolet
authored andcommitted
Tweak cutnode reduction
Less reduction for second move at non-check CUT node with depth <= 10. STC: LLR: 2.94 (-2.94,2.94) {-0.50,1.50} Total: 38680 W: 7490 L: 7245 D: 23945 Ptnml(0-2): 643, 4441, 8967, 4606, 683 https://tests.stockfishchess.org/tests/view/5f21e1782f7e63962b99f451 LTC: LLR: 2.95 (-2.94,2.94) {0.25,1.75} Total: 71976 W: 9003 L: 8636 D: 54337 Ptnml(0-2): 440, 6414, 21972, 6663, 499 https://tests.stockfishchess.org/tests/view/5f2245762f7e63962b99f4bd closes #2868 Bench: 4746616
1 parent 33f3cfa commit 9587eee

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/search.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1167,6 +1167,13 @@ namespace {
11671167
{
11681168
Depth r = reduction(improving, depth, moveCount);
11691169

1170+
// Decrease reduction at non-check cut nodes for second move at low depths
1171+
if ( cutNode
1172+
&& depth <= 10
1173+
&& moveCount <= 2
1174+
&& !ss->inCheck)
1175+
r--;
1176+
11701177
// Decrease reduction if the ttHit running average is large
11711178
if (thisThread->ttHitAverage > 473 * TtHitAverageResolution * TtHitAverageWindow / 1024)
11721179
r--;

0 commit comments

Comments
 (0)