]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Late move reduction, captures and CUT nodes
[stockfish] / src / search.cpp
index 69488ad583fb81f1798487c5be2f6422a0db9a10..7f421b9cd38401f4e5d4d94c9f1adff3649b348b 100644 (file)
@@ -1074,7 +1074,8 @@ moves_loop: // When in check, search starts from here
           &&  moveCount > 1 + 3 * rootNode
           && (  !captureOrPromotion
               || moveCountPruning
-              || ss->staticEval + PieceValue[EG][pos.captured_piece()] <= alpha))
+              || ss->staticEval + PieceValue[EG][pos.captured_piece()] <= alpha
+              || cutNode))
       {
           Depth r = reduction(improving, depth, moveCount);