X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=ec594d20a202a1f4619605ccae86289f375b4d41;hp=57f636535ba89ac192a87196494f748457da3993;hb=8c61bbda54b0ec06cb05b89db4342d890dd21798;hpb=1b62d413c137bfa669922b6d52b92262d60020f1 diff --git a/src/search.cpp b/src/search.cpp index 57f63653..ec594d20 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -934,16 +934,10 @@ moves_loop: // When in check search starts from here && !pos.see_ge(move, Value(-35 * lmrDepth * lmrDepth))) continue; } - else if (depth < 7 * ONE_PLY && !extension) - { - Value v = -Value(399 + 35 * depth / ONE_PLY * depth / ONE_PLY); - - if (PvNode) - v += beta - alpha - 1; - - if (!pos.see_ge(move, v)) + else if ( depth < 7 * ONE_PLY + && !extension + && !pos.see_ge(move, -PawnValueEg * (depth / ONE_PLY))) continue; - } } // Speculative prefetch as early as possible