]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Simplify reduced depth search
[stockfish] / src / search.cpp
index 9c5fb58bd8bbe283cadd3bf7f39ddb8671088ccd..22cb8577cf79709afeae699261b1a53677b74d09 100644 (file)
@@ -1151,7 +1151,7 @@ moves_loop: // When in check, search starts from here
       // Step 16. Reduced depth search (LMR, ~200 Elo). If the move fails high it will be
       // re-searched at full depth.
       if (    depth >= 3
-          &&  moveCount > 1 + 2 * rootNode + 2 * (PvNode && abs(bestValue) < 2)
+          &&  moveCount > 1 + 2 * rootNode
           && (  !captureOrPromotion
               || moveCountPruning
               || ss->staticEval + PieceValue[EG][pos.captured_piece()] <= alpha