X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fsearch.cpp;h=19cb3b511a27f4844caba4916f1cc4b3a8a4fc8c;hb=71440cf77b1df19e72bf281903c6babe2574b3ca;hp=713bd10fcb45477046973483602778a9947f594d;hpb=f5727deee3823accf791984836f45db78e3a53e5;p=stockfish diff --git a/src/search.cpp b/src/search.cpp index 713bd10f..19cb3b51 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1220,10 +1220,7 @@ moves_loop: // When in check and at SpNode search starts from here continue; } - // Prune moves with negative or equal SEE and also moves with positive - // SEE where capturing piece loses a tempo and SEE < beta - futilityBase. - if ( futilityBase < beta - && pos.see(move, beta - futilityBase) <= 0) + if (futilityBase < beta && pos.see(move) <= 0) { bestValue = std::max(bestValue, futilityBase); continue;