From: Fabian Fichter Date: Sun, 14 Apr 2019 16:33:31 +0000 (+0200) Subject: Less LMR for losing chess variants X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=32d3c385b7e3f4b62bf670c00f2fde92108ed753;p=fairystockfish.git Less LMR for losing chess variants giveaway STC LLR: 2.96 (-2.94,2.94) [0.00,10.00] Total: 617 W: 304 L: 208 D: 105 http://35.161.250.236:6543/tests/view/5cb19ce66e23db76ed2526f0 giveaway LTC LLR: 2.94 (-2.94,2.94) [0.00,10.00] Total: 906 W: 401 L: 305 D: 200 http://35.161.250.236:6543/tests/view/5cb1ad106e23db76ed2526f5 losers STC LLR: 2.96 (-2.94,2.94) [-10.00,5.00] Total: 882 W: 441 L: 383 D: 58 http://35.161.250.236:6543/tests/view/5cb1b5b96e23db76ed2526f8 losers LTC LLR: 2.96 (-2.94,2.94) [-10.00,5.00] Total: 1471 W: 704 L: 651 D: 116 http://35.161.250.236:6543/tests/view/5cb1c3776e23db76ed2526fe --- diff --git a/src/search.cpp b/src/search.cpp index f52a317..8b0ad18 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1024,7 +1024,7 @@ moves_loop: // When in check, search starts from here // re-searched at full depth. if ( depth >= 3 * ONE_PLY && moveCount > 1 - && (!captureOrPromotion || moveCountPruning)) + && (!(captureOrPromotion || (pos.must_capture() && MoveList(pos).size())) || moveCountPruning)) { Depth r = reduction(improving, depth, moveCount);