]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Remove useless razoring condition
[stockfish] / src / search.cpp
index b32016500fb8cccb476a4d2549b3348ebe791f9e..1d8139c41d8c764e974616ed5b54c8ee6cb3df34 100644 (file)
@@ -728,8 +728,7 @@ namespace {
         &&  ttMove == MOVE_NONE
         &&  eval + razor_margin[depth / ONE_PLY] <= alpha)
     {
-        if (   depth <= ONE_PLY
-            && eval + razor_margin[3 * ONE_PLY] <= alpha)
+        if (depth <= ONE_PLY)
             return qsearch<NonPV, false>(pos, ss, alpha, beta, DEPTH_ZERO);
 
         Value ralpha = alpha - razor_margin[depth / ONE_PLY];