]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Tweak formula for pruning moves losing material
[stockfish] / src / search.cpp
index 457580316694f238e42eb4b4763039dbbf1cef45..dc439ed00e5d3ca55439235e83c9581cefa8c48d 100644 (file)
@@ -1037,7 +1037,7 @@ moves_loop: // When in check, search starts here
               lmrDepth = std::max(lmrDepth, 0);
 
               // Prune moves with negative SEE (~4 Elo)
-              if (!pos.see_ge(move, Value(-27 * lmrDepth * lmrDepth - 16 * lmrDepth)))
+              if (!pos.see_ge(move, Value(-31 * lmrDepth * lmrDepth)))
                   continue;
           }
       }