From: Fabian Fichter Date: Wed, 24 Apr 2019 19:26:27 +0000 (+0200) Subject: Tweak SEE pruning margin for drop variants X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=a3e49b3ac83ca77907dec0bca0e5ad40c2ffab06;p=fairystockfish.git Tweak SEE pruning margin for drop variants crazyhouse STC LLR: 2.96 (-2.94,2.94) [0.00,10.00] Total: 2927 W: 1494 L: 1352 D: 81 http://35.161.250.236:6543/tests/view/5cbed6646e23db76ed252774 crazyhouse LTC LLR: 2.97 (-2.94,2.94) [0.00,10.00] Total: 1666 W: 869 L: 745 D: 52 http://35.161.250.236:6543/tests/view/5cbf83926e23db76ed252782 --- diff --git a/src/search.cpp b/src/search.cpp index 151dc31..4e0be30 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -999,7 +999,7 @@ moves_loop: // When in check, search starts from here continue; } else if ( !pos.must_capture() - && !pos.see_ge(move, -PawnValueEg * (depth / ONE_PLY))) // (~20 Elo) + && !pos.see_ge(move, -(PawnValueEg + 120 * pos.captures_to_hand()) * (depth / ONE_PLY))) // (~20 Elo) continue; }