]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Do more LMR for captures
[stockfish] / src / search.cpp
index e272c10b740edcb5bf48d0dfd175631b59999559..60a002a908842da0221b0cb42db7df686b24cd8e 100644 (file)
@@ -1172,6 +1172,7 @@ moves_loop: // When in check, search starts from here
               || moveCountPruning
               || ss->staticEval + PieceValue[EG][pos.captured_piece()] <= alpha
               || cutNode
+              || (!PvNode && !formerPv)
               || thisThread->ttHitAverage < 432 * TtHitAverageResolution * TtHitAverageWindow / 1024))
       {
           Depth r = reduction(improving, depth, moveCount);