]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Simplify advanced pawn push pruning
[stockfish] / src / search.cpp
index 24bcb9ad2af5baf1f9d15d49e05068fb552687f1..b54ff19648d7adce0fd1b4f04f7c11afada68bbd 100644 (file)
@@ -974,8 +974,7 @@ moves_loop: // When in check, search starts from here
           moveCountPruning = moveCount >= futility_move_count(improving, depth);
 
           if (   !captureOrPromotion
-              && !givesCheck
-              && (!PvNode || !pos.advanced_pawn_push(move) || pos.non_pawn_material(~us) > BishopValueMg))
+              && !givesCheck)
           {
               // Reduced depth of the next LMR search
               int lmrDepth = std::max(newDepth - reduction(improving, depth, moveCount), 0);