From 999e142c548f61852ace7b8f025d71bc8a805e3c Mon Sep 17 00:00:00 2001 From: bmc4 Date: Sun, 6 Jun 2021 13:31:57 -0300 Subject: [PATCH] Reduce in LMR reduction on PvNode reduce reduction in LMR by 1 on PvNode. STC: LLR: 2.93 (-2.94,2.94) <-0.50,2.50> Total: 266080 W: 22438 L: 21996 D: 221646 Ptnml(0-2): 774, 17874, 95376, 18168, 848 https://tests.stockfishchess.org/tests/view/60bc0661457376eb8bcaa4bb LTC: LLR: 2.93 (-2.94,2.94) <0.50,3.50> Total: 20144 W: 698 L: 587 D: 18859 Ptnml(0-2): 2, 529, 8906, 626, 9 https://tests.stockfishchess.org/tests/view/60bcc3f2457376eb8bcaa58d closes https://github.com/official-stockfish/Stockfish/pull/3534 bench: 5173012 --- src/search.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/search.cpp b/src/search.cpp index f634b2d2..67f259fc 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1132,6 +1132,9 @@ moves_loop: // When in check, search starts from here { Depth r = reduction(improving, depth, moveCount); + if (PvNode) + r--; + // Decrease reduction if the ttHit running average is large (~0 Elo) if (thisThread->ttHitAverage > 537 * TtHitAverageResolution * TtHitAverageWindow / 1024) r--; -- 2.39.2