X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=c678cd5340badeafdd3f9790511a9b908c9ca916;hp=3a80e161ff42238a3eb77c396e9a0feb80159fcc;hb=6c36e6519393b2ccfb111f603f793f38aa0f1963;hpb=fc3af7c4fbeaa3c5b85424077829223f9d18184e;ds=sidebyside diff --git a/src/search.cpp b/src/search.cpp index 3a80e161..c678cd53 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -951,8 +951,7 @@ moves_loop: // When in check, search starts from here && !pos.see_ge(move, Value(-35 * 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; }