]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Simplify reduction on rootNode when bestMoveChanges is high
[stockfish] / src / search.cpp
index c4ed73372df2040ffee3bc7093e61e9301011ecd..70dc4b2100cba60644fbe7ff58f76ec84b3c67bf 100644 (file)
@@ -1185,8 +1185,8 @@ moves_loop: // When in check, search starts here
               && !likelyFailLow)
               r -= 2;
 
-          // Increase reduction at root and non-PV nodes when the best move does not change frequently
-          if (   (rootNode || !PvNode)
+          // Increase reduction at non-PV nodes when the best move does not change frequently
+          if (  !PvNode
               && thisThread->bestMoveChanges <= 2)
               r++;