From 610e2924bc3c27cc104dc02ad6059ff54f9d1e5c Mon Sep 17 00:00:00 2001 From: Fabian Fichter Date: Mon, 8 Feb 2021 22:35:16 +0100 Subject: [PATCH] Simplify shallow depth pruning for anti variants giveaway STC LLR: 2.96 (-2.94,2.94) [-10.00,5.00] Total: 1787 W: 698 L: 655 D: 434 http://www.variantfishtest.org:6543/tests/view/601e7a7a6e23db669974e823 giveaway LTC LLR: 2.96 (-2.94,2.94) [-10.00,5.00] Total: 1501 W: 550 L: 507 D: 444 http://www.variantfishtest.org:6543/tests/view/601ecee96e23db669974e834 losers STC LLR: 2.99 (-2.94,2.94) [-10.00,5.00] Total: 14506 W: 6366 L: 6407 D: 1733 http://www.variantfishtest.org:6543/tests/view/601e7a8f6e23db669974e827 losers LTC LLR: 2.96 (-2.94,2.94) [-10.00,5.00] Total: 3939 W: 1740 L: 1707 D: 492 http://www.variantfishtest.org:6543/tests/view/601fbb036e23db669974e846 --- src/search.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/search.cpp b/src/search.cpp index 5b581ef..7eb4252 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1120,7 +1120,7 @@ moves_loop: // When in check, search starts from here // Reduced depth of the next LMR search int lmrDepth = std::max(newDepth - reduction(improving, depth, moveCount), 0); - if (pos.must_capture() && (captureOrPromotion || givesCheck || pos.attackers_to(to_sq(move), ~us))) + if (pos.must_capture() && pos.attackers_to(to_sq(move), ~us)) {} else -- 1.7.0.4