]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Remove PvNode Parameter for cutoff LMR
[stockfish] / src / search.cpp
index b3f60f3d15bcff7750b283d0bd3346f7828733c4..abb51190485cbfb1f0f721faa65c2d462721b203 100644 (file)
@@ -1156,13 +1156,13 @@ moves_loop: // When in check, search starts here
           if (singularQuietLMR)
               r--;
 
-          // Dicrease reduction if we move a threatened piece (~1 Elo)
+          // Decrease reduction if we move a threatened piece (~1 Elo)
           if (   depth > 9
               && (mp.threatenedPieces & from_sq(move)))
               r--;
 
           // Increase reduction if next ply has a lot of fail high
-          if ((ss+1)->cutoffCnt > 3 && !PvNode)
+          if ((ss+1)->cutoffCnt > 3)
               r++;
 
           ss->statScore =  2 * thisThread->mainHistory[us][from_to(move)]