X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=19cb3b511a27f4844caba4916f1cc4b3a8a4fc8c;hp=713bd10fcb45477046973483602778a9947f594d;hb=f7742669cb52dff7a64bd1a9ba466e333abb87bc;hpb=59a9bc93512138eca31ec38d36d8ddd7868ed708 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;