Skip to content

Commit b578115

Browse files
lonfom169vondele
authored andcommitted
Increase reduction based on the number of best move changes.
Thanks to Vizvezdenec for the PvNode idea and also to vondele the !PvNode idea. Passed STC: LLR: 2.94 (-2.94,2.94) {-0.25,1.25} Total: 19120 W: 1998 L: 1839 D: 15283 Ptnml(0-2): 76, 1445, 6375, 1572, 92 https://tests.stockfishchess.org/tests/view/5fa8af3e67cbf42301d6a6c9 Passed LTC: LLR: 2.94 (-2.94,2.94) {0.25,1.25} Total: 75584 W: 3454 L: 3205 D: 68925 Ptnml(0-2): 54, 2832, 31771, 3081, 54 closes #3224 Bench: 3595418
1 parent 392b529 commit b578115

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Alain Savard (Rocky640)
1919
Alayan Feh (Alayan-stk-2)
2020
Alexander Kure
2121
Alexander Pagel (Lolligerhans)
22+
Alfredo Menezes (lonfom169)
2223
Ali AlZhrani (Cooffe)
2324
Andrew Grant (AndyGrant)
2425
Andrey Neporada (nepal)

src/search.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1169,6 +1169,9 @@ namespace {
11691169
if (ss->ttPv)
11701170
r -= 2;
11711171

1172+
if (!PvNode && depth > 10 && thisThread->bestMoveChanges <= 2)
1173+
r++;
1174+
11721175
if (moveCountPruning && !formerPv)
11731176
r++;
11741177

0 commit comments

Comments
 (0)