]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Fix MSVC error
[stockfish] / src / search.cpp
index fb5dfd00776c4a549f196c2761f2452ffb1abd7b..997cfd3b6a32c20ecbbb493dbb1e1cba8f87f536 100644 (file)
@@ -951,7 +951,7 @@ moves_loop: // When in check, search starts from here
                   continue;
           }
           else if (   !extension // (~20 Elo)
-                   && !pos.see_ge(move, -Value(PawnValueEg * (depth / ONE_PLY))))
+                   && !pos.see_ge(move, -PawnValueEg * (depth / ONE_PLY)))
                   continue;
       }