From a3e49b3ac83ca77907dec0bca0e5ad40c2ffab06 Mon Sep 17 00:00:00 2001 From: Fabian Fichter Date: Wed, 24 Apr 2019 21:26:27 +0200 Subject: [PATCH] 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 --- src/search.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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; } -- 1.7.0.4