From: Fabian Fichter Date: Mon, 10 Aug 2020 17:14:51 +0000 (+0200) Subject: Disable shallow depth pruning of captures X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=16907b103dce8f4389bc97f959a5dcd9b6e45e2f;p=fairystockfish.git Disable shallow depth pruning of captures giveaway STC LLR: 2.97 (-2.94,2.94) [0.00,10.00] Total: 733 W: 315 L: 224 D: 194 http://www.variantfishtest.org:6543/tests/view/5f300b6e6e23db104fb88ea3 giveaway LTC LLR: 2.96 (-2.94,2.94) [0.00,10.00] Total: 1300 W: 522 L: 424 D: 354 http://www.variantfishtest.org:6543/tests/view/5f3013386e23db104fb88eb2 --- diff --git a/src/search.cpp b/src/search.cpp index e8461f0..616c61c 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1119,7 +1119,7 @@ moves_loop: // When in check, search starts from here if (!pos.see_ge(move, Value(-(32 - std::min(lmrDepth, 18) + 10 * !!pos.capture_the_flag_piece()) * lmrDepth * lmrDepth))) continue; } - else + else if (!pos.must_capture()) { // Capture history based pruning when the move doesn't give check if ( !givesCheck