]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
simplified and increased threshold to switch between NNUE and classical
[stockfish] / src / search.cpp
index 8be96e298ec17aa2936bb47c1150d79a02d518c2..4a993b017542cd84b6cd159f4a5f64e0feee9dd4 100644 (file)
@@ -1028,7 +1028,7 @@ moves_loop: // When in check, search starts from here
                   continue;
 
               // Futility pruning: parent node (~5 Elo)
-              if (   lmrDepth < 6
+              if (   lmrDepth < 8
                   && !ss->inCheck
                   && ss->staticEval + 284 + 188 * lmrDepth <= alpha
                   &&  (*contHist[0])[movedPiece][to_sq(move)]
@@ -1134,7 +1134,7 @@ moves_loop: // When in check, search starts from here
       // Castling extension
       if (type_of(move) == CASTLING)
           extension = 1;
-         
+
       // Late irreversible move extension
       if (   move == ttMove
           && pos.rule50_count() > 80