]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Retire asymmThreshold
[stockfish] / src / search.cpp
index 713bd10fcb45477046973483602778a9947f594d..19cb3b511a27f4844caba4916f1cc4b3a8a4fc8c 100644 (file)
@@ -1220,10 +1220,7 @@ moves_loop: // When in check and at SpNode search starts from here
               continue;
           }
 
               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;
           {
               bestValue = std::max(bestValue, futilityBase);
               continue;