]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Remove depth condition from razoring
[stockfish] / src / search.cpp
index 3c2ae3e52df8b0c43f8cc05a132c2adb801bef81..898de87523f6dbd4d0c5090c62a938cdb4a53866 100644 (file)
@@ -775,8 +775,7 @@ namespace {
     // Step 7. Razoring.
     // If eval is really low check with qsearch if it can exceed alpha, if it can't,
     // return a fail low.
-    if (   depth <= 7
-        && eval < alpha - 369 - 254 * depth * depth)
+    if (eval < alpha - 369 - 254 * depth * depth)
     {
         value = qsearch<NonPV>(pos, ss, alpha - 1, alpha);
         if (value < alpha)