From: Fabian Fichter Date: Fri, 19 Jun 2020 19:03:01 +0000 (+0200) Subject: Remove redundant LMR condition X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=897626edec0630233feed1e9ac1e2bbc9c76d3c6;p=fairystockfish.git Remove redundant LMR condition No functional change. --- diff --git a/src/search.cpp b/src/search.cpp index 7629f9e..67c713a 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1236,7 +1236,7 @@ moves_loop: // When in check, search starts from here if (singularLMR) r -= 2; - if (!captureOrPromotion && !(pos.must_capture() && MoveList(pos).size())) + if (!captureOrPromotion) { // Increase reduction if ttMove is a capture (~5 Elo) if (ttCapture)