X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fsearch.cpp;h=8f8d42c02873f19b56abe9afe666c4109b2177ee;hb=d37de3cb1de63da5b2f8e6978c45c5b36973063b;hp=ac026a79e1ce208a26f4bb9c7fc6477be703bcd2;hpb=e8d64af1230fdac65bb0da246df3e7abe82e0838;p=stockfish diff --git a/src/search.cpp b/src/search.cpp index ac026a79..8f8d42c0 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1025,7 +1025,7 @@ moves_loop: // When in check, search starts from here else { // Continuation history based pruning (~20 Elo) - if ( lmrDepth < 4 + if ( lmrDepth < 5 && (*contHist[0])[movedPiece][to_sq(move)] < CounterMovePruneThreshold && (*contHist[1])[movedPiece][to_sq(move)] < CounterMovePruneThreshold) continue;