]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Smoother transition for LMR
[stockfish] / src / search.cpp
index 4683a006ffe42c93f613a384f83df61b26418bcf..36a89d835411bcca9d797e3265a1a66b7fcf7590 100644 (file)
@@ -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