]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Update parametes in classical evaluation.
[stockfish] / src / search.cpp
index a2342a3cf4f90d50eeccce10a8d25a6afceef3e2..e6e53e7c59d147d16aaa588670dd989f7ad66f76 100644 (file)
@@ -944,7 +944,7 @@ namespace {
             }
          ss->ttPv = ttPv;
     }
-    
+
     // Step 11. If the position is not in TT, decrease depth by 2
     if (   PvNode
         && depth >= 6
@@ -1585,7 +1585,7 @@ moves_loop: // When in check, search starts from here
                                                                 [to_sq(move)];
 
       if (  !captureOrPromotion
-          && moveCount >= abs(depth) + 1
+          && moveCount
           && (*contHist[0])[pos.moved_piece(move)][to_sq(move)] < CounterMovePruneThreshold
           && (*contHist[1])[pos.moved_piece(move)][to_sq(move)] < CounterMovePruneThreshold)
           continue;