Skip to content

Commit 8e3e22b

Browse files
committed
Replace depth increase condition with !opponentWorsening
Passed simplification STC LLR: 2.94 (-2.94,2.94) <-1.75,0.25> Total: 220544 W: 57417 L: 57399 D: 105728 Ptnml(0-2): 816, 26554, 55540, 26520, 842 https://tests.stockfishchess.org/tests/view/678970e38082388fa0cbfe02 Passed simplification LTC LLR: 2.94 (-2.94,2.94) <-1.75,0.25> Total: 132600 W: 33868 L: 33760 D: 64972 Ptnml(0-2): 126, 14770, 36390, 14898, 116 https://tests.stockfishchess.org/tests/view/678accabc00c743bc9e9fc7f closes official-stockfish#5798 bench 1632964
1 parent f00d91f commit 8e3e22b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/search.cpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -781,10 +781,8 @@ Value Search::Worker::search(
781781

782782
opponentWorsening = ss->staticEval + (ss - 1)->staticEval > 2;
783783

784-
if (priorReduction >= 3 && ss->staticEval + (ss - 1)->staticEval < 0)
785-
{
784+
if (priorReduction >= 3 && !opponentWorsening)
786785
depth++;
787-
}
788786

789787
// Step 7. Razoring (~1 Elo)
790788
// If eval is really low, skip search entirely and return the qsearch value.

0 commit comments

Comments
 (0)