From f27339d35b6c8ccd1f83914b334c89111e62f320 Mon Sep 17 00:00:00 2001 From: Guenther Demetz Date: Thu, 27 Feb 2020 15:58:22 +0100 Subject: [PATCH] Simplify lowply-history logic Don't restrict usage to ttPv nodes exclusively STC: http://tests.stockfishchess.org/tests/view/5e5634f284a82b4acd41499a LLR: 2.94 (-2.94,2.94) {-1.50,0.50} Total: 152796 W: 29146 L: 29178 D: 94472 Ptnml(0-2): 2590, 17792, 35628, 17836, 2552 LTC: http://tests.stockfishchess.org/tests/view/5e575d4984a82b4acd4149e8 LLR: 2.95 (-2.94,2.94) {-1.50,0.50} Total: 20078 W: 2688 L: 2587 D: 14803 Ptnml(0-2): 139, 1914, 5853, 1973, 160 closes https://github.com/official-stockfish/Stockfish/pull/2565 bench: 4923286 --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index a32ff4b6..544c3ee5 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -957,7 +957,7 @@ moves_loop: // When in check, search starts from here contHist, countermove, ss->killers, - depth > 12 && ttPv ? ss->ply : MAX_PLY); + depth > 12 ? ss->ply : MAX_PLY); value = bestValue; singularLMR = moveCountPruning = false; -- 2.39.2