From: Fabian Fichter Date: Fri, 29 Jan 2021 11:20:21 +0000 (+0100) Subject: Enable futility pruning for atomic X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=00a6b45cbd66b7e18001ab7e723df21832beaa49;p=fairystockfish.git Enable futility pruning for atomic atomic STC LLR: 2.98 (-2.94,2.94) [0.00,10.00] Total: 3266 W: 1256 L: 1131 D: 879 http://www.variantfishtest.org:6543/tests/view/601344bc6e23db077dd6628e atomic LTC LLR: 2.98 (-2.94,2.94) [0.00,10.00] Total: 3826 W: 1349 L: 1222 D: 1255 http://www.variantfishtest.org:6543/tests/view/601345cf6e23db077dd66295 --- diff --git a/src/search.cpp b/src/search.cpp index 367a132..6c5914f 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -921,6 +921,7 @@ namespace { if ( !PvNode && depth < 8 && !( pos.extinction_value() == -VALUE_MATE + && !pos.blast_on_capture() && pos.extinction_piece_types().find(ALL_PIECES) == pos.extinction_piece_types().end()) && !(pos.capture_the_flag_piece() && !pos.checking_permitted()) && eval - futility_margin(depth, improving) * (1 + pos.check_counting() + 2 * pos.must_capture()) >= beta