From: Joona Kiiski Date: Tue, 8 Oct 2013 21:43:33 +0000 (+0100) Subject: Smoother transition for LMR X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=b15e148b5e8929cfc17a388c79fbf4acdc0712f6 Smoother transition for LMR Passed both short TC: LLR: 2.95 (-2.94,2.94) [-1.50,4.50] Total: 12376 W: 2596 L: 2454 D: 7326 And long TC: LLR: 2.97 (-2.94,2.94) [0.00,6.00] Total: 14798 W: 2584 L: 2409 D: 9805 bench: 8279065 --- diff --git a/src/search.cpp b/src/search.cpp index 4683a006..36a89d83 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -143,6 +143,9 @@ void Search::init() { if (Reductions[0][0][hd][mc] > 2 * ONE_PLY) Reductions[0][0][hd][mc] += ONE_PLY; + + else if (Reductions[0][0][hd][mc] > 1 * ONE_PLY) + Reductions[0][0][hd][mc] += ONE_PLY / 2; } // Init futility margins array