From: Fabian Fichter Date: Sat, 22 Sep 2018 12:01:17 +0000 (+0200) Subject: Skip SEE pruning of captures for antichess variants X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=9479a8115bbd1d27dd5ce96656db5edf27575553;p=fairystockfish.git Skip SEE pruning of captures for antichess variants STC giveaway LLR: 2.97 (-2.94,2.94) [0.00,10.00] Total: 291 W: 147 L: 64 D: 80 http://35.161.250.236:6543/tests/view/5ba630ff6e23db0fbab0ddc1 STC losers LLR: 2.97 (-2.94,2.94) [0.00,10.00] Total: 661 W: 331 L: 232 D: 98 http://35.161.250.236:6543/tests/view/5ba631176e23db0fbab0ddc4 --- diff --git a/src/search.cpp b/src/search.cpp index cb09d15..7b4bf8b 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -970,6 +970,7 @@ moves_loop: // When in check, search starts from here continue; } else if ( !extension // (~20 Elo) + && !pos.must_capture() && !pos.see_ge(move, -Value(PawnValueEg * (depth / ONE_PLY)))) continue; }