From 9045fdb227fe5303822a2af290448f490401668b Mon Sep 17 00:00:00 2001 From: FauziAkram Date: Sun, 27 Jul 2025 23:14:28 +0300 Subject: [PATCH] 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 --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index 9855d12e1..24ba1c018 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -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--;