From 7b4c9852e1421ebe6ec326c38f04ad575ad91053 Mon Sep 17 00:00:00 2001 From: VoyagerOne Date: Tue, 29 Aug 2017 13:06:19 -0400 Subject: [PATCH] Adjust moveCount history only at LMR STC: LLR: 3.32 (-2.94,2.94) [-3.00,1.00] Total: 17584 W: 3277 L: 3131 D: 11176 LTC: LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 26412 W: 3447 L: 3334 D: 19631 Bench: 5417521 --- src/search.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/search.cpp b/src/search.cpp index 06262131..1e70be60 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -908,8 +908,7 @@ moves_loop: // When in check search starts from here } // Reduced depth of the next LMR search - int mch = std::max(1, moveCount - (ss-1)->moveCount / 16); - int lmrDepth = std::max(newDepth - reduction(improving, depth, mch), DEPTH_ZERO) / ONE_PLY; + int lmrDepth = std::max(newDepth - reduction(improving, depth, moveCount), DEPTH_ZERO) / ONE_PLY; // Countermoves based pruning if ( lmrDepth < 3 -- 2.39.2