]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Remove lmrDepth restriction on quiet see pruning
[stockfish] / src / search.cpp
index 3a80e161ff42238a3eb77c396e9a0feb80159fcc..fb5dfd00776c4a549f196c2761f2452ffb1abd7b 100644 (file)
@@ -947,12 +947,10 @@ moves_loop: // When in check, search starts from here
                   continue;
 
               // Prune moves with negative SEE (~10 Elo)
-              if (   lmrDepth < 8
-                  && !pos.see_ge(move, Value(-35 * lmrDepth * lmrDepth)))
+              if (!pos.see_ge(move, Value(-29 * lmrDepth * lmrDepth)))
                   continue;
           }
-          else if (    depth < 7 * ONE_PLY // (~20 Elo)
-                   && !extension
+          else if (   !extension // (~20 Elo)
                    && !pos.see_ge(move, -Value(PawnValueEg * (depth / ONE_PLY))))
                   continue;
       }