]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Rank-based outposts
[stockfish] / src / search.cpp
index f9579ae0ab4fac374a3f695ba629e20552f6a3fd..b484dcbe062451ade8c78aeadf04855bbaaa9c20 100644 (file)
@@ -1022,7 +1022,7 @@ moves_loop: // When in check, search starts from here
 
           if (   !captureOrPromotion
               && !givesCheck
-              && (!pos.advanced_pawn_push(move) || pos.non_pawn_material(~us) > BishopValueMg))
+              && (!PvNode || !pos.advanced_pawn_push(move) || pos.non_pawn_material(~us) > BishopValueMg))
           {
               // Reduced depth of the next LMR search
               int lmrDepth = std::max(newDepth - reduction(improving, depth, moveCount), 0);