]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Reduce in LMR reduction on PvNode
[stockfish] / src / search.cpp
index f634b2d2d67b97beaf9a67d97f50b709f509cb86..67f259fca36d72bbf68cd8c4de0e10cfec7fc399 100644 (file)
@@ -1132,6 +1132,9 @@ moves_loop: // When in check, search starts from here
       {
           Depth r = reduction(improving, depth, moveCount);
 
+          if (PvNode)
+              r--;
+
           // Decrease reduction if the ttHit running average is large (~0 Elo)
           if (thisThread->ttHitAverage > 537 * TtHitAverageResolution * TtHitAverageWindow / 1024)
               r--;