From 147afebc22bc188b0f195625b96bbdbee4213945 Mon Sep 17 00:00:00 2001 From: Fabian Fichter Date: Sat, 26 Jan 2019 10:54:25 +0100 Subject: [PATCH] Disable futility pruning for racing kings racingkings STC LLR: 2.95 (-2.94,2.94) [0.00,10.00] Total: 350 W: 163 L: 81 D: 106 http://35.161.250.236:6543/tests/view/5c4b86806e23db07348e8601 racingkings LTC LLR: 2.96 (-2.94,2.94) [0.00,10.00] Total: 391 W: 174 L: 92 D: 125 http://35.161.250.236:6543/tests/view/5c4b97676e23db07348e8609 --- src/search.cpp | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/search.cpp b/src/search.cpp index c21f317..87c330e 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -745,6 +745,7 @@ namespace { && depth < 7 * ONE_PLY && !( pos.extinction_value() == -VALUE_MATE && pos.extinction_piece_types().find(ALL_PIECES) == pos.extinction_piece_types().end()) + && (pos.checking_permitted() || !pos.capture_the_flag_piece()) && eval - futility_margin(depth, improving) * (1 + !!pos.max_check_count()) >= beta && eval < VALUE_KNOWN_WIN) // Do not return unproven wins return eval; -- 1.7.0.4