Add depth condition

Passed STC:
LLR: 2.94 (-2.94,2.94) <0.00,2.00>
Total: 103360 W: 26941 L: 26530 D: 49889
Ptnml(0-2): 291, 11964, 26770, 12353, 302
https://tests.stockfishchess.org/tests/view/68863547966ed85face24a6f

Passed LTC:
LLR: 2.94 (-2.94,2.94) <0.50,2.50>
Total: 115128 W: 29734 L: 29258 D: 56136
Ptnml(0-2): 48, 12406, 32182, 12878, 50
https://tests.stockfishchess.org/tests/view/68864f867b562f5f7b7312f2

closes https://github.com/official-stockfish/Stockfish/pull/6184

Bench: 2972498
This commit is contained in:
FauziAkram
2025-07-28 19:49:05 +02:00
committed by Joost VandeVondele
parent 4fcfb0b4b7
commit 9045fdb227
+1 -1
View File
@@ -826,7 +826,7 @@ Value Search::Worker::search(
opponentWorsening = ss->staticEval > -(ss - 1)->staticEval;
if (priorReduction >= 3 && !opponentWorsening)
if (priorReduction >= (depth < 10 ? 1 : 3) && !opponentWorsening)
depth++;
if (priorReduction >= 2 && depth >= 2 && ss->staticEval + (ss - 1)->staticEval > 177)
depth--;