Skip to content

Commit 549e88b

Browse files
vondeleQueensGambit
authored andcommitted
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 official-stockfish/Stockfish#3225 Bench: 3954692
1 parent 5d9e008 commit 549e88b

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
@@ -1238,15 +1238,16 @@ namespace {
12381238
if (thisThread->ttHitAverage > 509 * TtHitAverageResolution * TtHitAverageWindow / 1024)
12391239
r--;
12401240

1241-
// Reduction if other threads are searching this position
1241+
// Increase reduction if other threads are searching this position
12421242
if (th.marked())
12431243
r++;
12441244

12451245
// Decrease reduction if position is or has been on the PV (~10 Elo)
12461246
if (ss->ttPv)
12471247
r -= 2;
12481248

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

12521253
if (moveCountPruning && !formerPv)

0 commit comments

Comments
 (0)