]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Simplify a depth condition
[stockfish] / src / search.cpp
index ce9ed9508aa2e03af4af54c7740225211c8baf11..03d72b95373b412a543cf72641893817c5351348 100644 (file)
@@ -1099,7 +1099,7 @@ moves_loop: // When in check, search starts here
 
               // If we are on a cutNode, reduce it based on depth (negative extension) (~1 Elo)
               else if (cutNode)
-                  extension = depth > 8 && depth < 17 ? -3 : -1;
+                  extension = depth < 17 ? -3 : -1;
 
               // If the eval of ttMove is less than value, we reduce it (negative extension) (~1 Elo)
               else if (ttValue <= value)