Simplify futility pruning for captures
[stockfish] / src / search.cpp
index 17cd0a73b61d596897b5e13e704490f85bef8d48..9c5fb58bd8bbe283cadd3bf7f39ddb8671088ccd 100644 (file)
@@ -1056,7 +1056,6 @@ moves_loop: // When in check, search starts from here
               if (   !givesCheck
                   && lmrDepth < 6
                   && !(PvNode && abs(bestValue) < 2)
-                  && PieceValue[MG][type_of(movedPiece)] >= PieceValue[MG][type_of(pos.piece_on(to_sq(move)))]
                   && !ss->inCheck
                   && ss->staticEval + 169 + 244 * lmrDepth
                      + PieceValue[MG][type_of(pos.piece_on(to_sq(move)))] <= alpha)