From 897626edec0630233feed1e9ac1e2bbc9c76d3c6 Mon Sep 17 00:00:00 2001 From: Fabian Fichter Date: Fri, 19 Jun 2020 21:03:01 +0200 Subject: [PATCH] Remove redundant LMR condition No functional change. --- src/search.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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) -- 1.7.0.4