]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Simplify cutnode depth condition
[stockfish] / src / search.cpp
index eefe5a3bcf94d3e7febab78fa9155529dd62104b..a745d3bfdd0ed16933a9d53dcd8f7ab830637940 100644 (file)
@@ -1131,7 +1131,7 @@ moves_loop: // When in check, search starts here
       // Decrease further on cutNodes. (~1 Elo)
       if (   ss->ttPv
           && !likelyFailLow)
-          r -= cutNode && tte->depth() >= depth + 3 ? 3 : 2;
+          r -= cutNode && tte->depth() >= depth ? 3 : 2;
 
       // Decrease reduction if opponent's move count is high (~1 Elo)
       if ((ss-1)->moveCount > 8)