]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Simplification for countermoves based pruning
[stockfish] / src / search.cpp
index e03016b61d9c2edd6bb7167b9a5999e3efb5c6c5..bf6ba6c4cd6589f48865570f11a85ff93b891805 100644 (file)
@@ -1026,7 +1026,7 @@ moves_loop: // When in check, search starts from here
           else
           {
               // Countermoves based pruning (~20 Elo)
-              if (   lmrDepth < 4 + ((ss-1)->statScore > 0 || (ss-1)->moveCount == 1)
+              if (   lmrDepth < 4
                   && (*contHist[0])[movedPiece][to_sq(move)] < CounterMovePruneThreshold
                   && (*contHist[1])[movedPiece][to_sq(move)] < CounterMovePruneThreshold)
                   continue;