Skip to content

Commit bbed64a

Browse files
committed
Increase reduction at root
when the best move does not change frequently STC: LLR: 2.94 (-2.94,2.94) {-0.25,1.25} Total: 51320 W: 5159 L: 4956 D: 41205 Ptnml(0-2): 215, 3897, 17242, 4082, 224 https://tests.stockfishchess.org/tests/view/5faa072367cbf42301d6a767 LTC: LLR: 2.98 (-2.94,2.94) {0.25,1.25} Total: 15952 W: 762 L: 642 D: 14548 Ptnml(0-2): 8, 561, 6725, 667, 15 https://tests.stockfishchess.org/tests/view/5faa4c3567cbf42301d6a794 closes #3225 Bench: 3954692
1 parent b578115 commit bbed64a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

AUTHORS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Jekaa
8686
Jerry Donald Watson (jerrydonaldwatson)
8787
jjoshua2
8888
Jonathan Calovski (Mysseno)
89-
Jonathan Dumale (SFisGOD)
89+
Jonathan Buladas Dumale (SFisGOD)
9090
Joost VandeVondele (vondele)
9191
Jörg Oster (joergoster)
9292
Joseph Ellis (jhellis3)

src/search.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1161,15 +1161,16 @@ namespace {
11611161
if (thisThread->ttHitAverage > 509 * TtHitAverageResolution * TtHitAverageWindow / 1024)
11621162
r--;
11631163

1164-
// Reduction if other threads are searching this position
1164+
// Increase reduction if other threads are searching this position
11651165
if (th.marked())
11661166
r++;
11671167

11681168
// Decrease reduction if position is or has been on the PV (~10 Elo)
11691169
if (ss->ttPv)
11701170
r -= 2;
11711171

1172-
if (!PvNode && depth > 10 && thisThread->bestMoveChanges <= 2)
1172+
// Increase reduction at root and non-PV nodes when the best move does not change frequently
1173+
if ((rootNode || !PvNode) && depth > 10 && thisThread->bestMoveChanges <= 2)
11731174
r++;
11741175

11751176
if (moveCountPruning && !formerPv)

0 commit comments

Comments
 (0)