]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Adjust reduction less at medium depths
[stockfish] / src / search.cpp
index 898de87523f6dbd4d0c5090c62a938cdb4a53866..422d4b43a8268b702dd02943bb434c78e0d99262 100644 (file)
@@ -1177,7 +1177,7 @@ moves_loop: // When in check, search starts here
                          - 4433;
 
           // Decrease/increase reduction for moves with a good/bad history (~30 Elo)
-          r -= ss->statScore / 13628;
+          r -= ss->statScore / (13628 + 4000 * (depth > 7 && depth < 19));
 
           // In general we want to cap the LMR depth search at newDepth, but when
           // reduction is negative, we allow this move a limited search extension