X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=997cfd3b6a32c20ecbbb493dbb1e1cba8f87f536;hp=fb5dfd00776c4a549f196c2761f2452ffb1abd7b;hb=745160572f9ffcc55317fcfedc47653eb95494aa;hpb=a834bfe8332adcb0dfc1fd280f1f9d8bbce86266 diff --git a/src/search.cpp b/src/search.cpp index fb5dfd00..997cfd3b 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -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; }