]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Tweak reductions for captures/promotions
[stockfish] / src / search.cpp
index 035dd40a5c7c17d4b92dd11a2ff35f8d1b709cbb..c1ed1f9540a059b7222a4c1663b771847dcfb0c2 100644 (file)
@@ -1186,6 +1186,10 @@ moves_loop: // When in check, search starts from here
               r -= ss->statScore / 16384;
           }
 
+          // Increase reduction for captures/promotions if late move and at low depth
+          else if (depth < 8 && moveCount > 2)
+              r++;
+
           Depth d = clamp(newDepth - r, 1, newDepth);
 
           value = -search<NonPV>(pos, ss+1, -(alpha+1), -alpha, d, true);