]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Adjust usage of LMR for 2nd move in move ordering
[stockfish] / src / search.cpp
index e64209317052b8af733e0187d7033c657555fc70..6785ba4c6b44d2bb3db6fc42bde736971fcd6d09 100644 (file)
@@ -1136,7 +1136,7 @@ moves_loop: // When in check, search starts here
       // been searched. In general we would like to reduce them, but there are many
       // cases where we extend a son if it has good chances to be "interesting".
       if (    depth >= 2
-          &&  moveCount > 1 + rootNode
+          &&  moveCount > 1 + (PvNode && ss->ply <= 1)
           && (   !ss->ttPv
               || !captureOrPromotion
               || (cutNode && (ss-1)->moveCount > 1)))