X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fsearch.cpp;h=988166df9bb1682a6094654853c7f7c5b77239c3;hb=22e92d23d24ade1053cf543624d0efd01387e886;hp=eb0ac5bbd02c856c2a9d85989af21f22eafcacf5;hpb=2c30956a13986454dcc5dd8c7daa1b27d5a77a1b;p=stockfish diff --git a/src/search.cpp b/src/search.cpp index eb0ac5bb..988166df 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1031,12 +1031,6 @@ moves_loop: // When in check, search starts here if ( captureOrPromotion || givesCheck) { - // Capture history based pruning when the move doesn't give check - if ( !givesCheck - && lmrDepth < 1 - && captureHistory[movedPiece][to_sq(move)][type_of(pos.piece_on(to_sq(move)))] < 0) - continue; - // Futility pruning for captures if ( !pos.empty(to_sq(move)) && !givesCheck