Increase reduction based on the number of best move changes.
[stockfish] / src / search.cpp
index b5b93bf01f6e73c91bc4ef57b481861846b12661..56b56733fb2771aa998030887370622a408ff786 100644 (file)
@@ -1169,6 +1169,9 @@ moves_loop: // When in check, search starts from here
           if (ss->ttPv)
               r -= 2;
 
+          if (!PvNode && depth > 10 && thisThread->bestMoveChanges <= 2)
+              r++;
+
           if (moveCountPruning && !formerPv)
               r++;