]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Less pruning in draw PV lines.
[stockfish] / src / search.cpp
index 3b3c0f2aeb0deb9f84b19782468669054c943970..4747beb2e94b503f3df11d55fee058dae989757b 100644 (file)
@@ -1055,6 +1055,7 @@ moves_loop: // When in check, search starts from here
               // Futility pruning for captures
               if (   !givesCheck
                   && lmrDepth < 6
+                  && !(PvNode && abs(bestValue) < 2)
                   && !ss->inCheck
                   && ss->staticEval + 270 + 384 * lmrDepth + PieceValue[MG][type_of(pos.piece_on(to_sq(move)))] <= alpha)
                   continue;