From 1591e5ac3b24f068f965471f17d7aae33ceaab9f Mon Sep 17 00:00:00 2001 From: Michael Chaly Date: Sat, 10 Sep 2022 12:30:25 +0300 Subject: [PATCH] Do less singular extensions for former PVnode Patch is a reintroduction of logic what was simplified a while ago in a slightly different form. Do bigger extension offset in case of non-pv node having a pv. passed STC https://tests.stockfishchess.org/tests/view/631977c048f27688a06e66d5 LLR: 2.94 (-2.94,2.94) <0.00,2.00> Total: 23296 W: 6404 L: 6108 D: 10784 Ptnml(0-2): 88, 2539, 6118, 2795, 108 passed LTC https://tests.stockfishchess.org/tests/view/631989cb48f27688a06e696c LLR: 2.94 (-2.94,2.94) <0.50,2.50> Total: 235592 W: 63890 L: 63188 D: 108514 Ptnml(0-2): 275, 23392, 69804, 24006, 319 closes https://github.com/official-stockfish/Stockfish/pull/4159 Bench: 3993611 --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index 12576378..c998f20d 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1059,7 +1059,7 @@ moves_loop: // When in check, search starts here && (tte->bound() & BOUND_LOWER) && tte->depth() >= depth - 3) { - Value singularBeta = ttValue - 3 * depth; + Value singularBeta = ttValue - (3 + (ss->ttPv && !PvNode)) * depth; Depth singularDepth = (depth - 1) / 2; ss->excludedMove = move; -- 2.39.2