Enable futility pruning for atomic
authorFabian Fichter <ianfab@users.noreply.github.com>
Fri, 29 Jan 2021 11:20:21 +0000 (12:20 +0100)
committerFabian Fichter <ianfab@users.noreply.github.com>
Fri, 29 Jan 2021 11:20:21 +0000 (12:20 +0100)
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

src/search.cpp

index 367a132..6c5914f 100644 (file)
@@ -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