]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Fix MSVC error
[stockfish] / src / search.cpp
index c678cd5340badeafdd3f9790511a9b908c9ca916..997cfd3b6a32c20ecbbb493dbb1e1cba8f87f536 100644 (file)
@@ -947,12 +947,11 @@ 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 (   !extension // (~20 Elo)
-                   && !pos.see_ge(move, -Value(PawnValueEg * (depth / ONE_PLY))))
+                   && !pos.see_ge(move, -PawnValueEg * (depth / ONE_PLY)))
                   continue;
       }