]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Remove an useless condition in equal SEE pruning
[stockfish] / src / search.cpp
index 3152260745f21b8cf2ed8af1ab5051825dc581c2..f35f6b6cf91293bb5b43c1d8ef58df75bf7f8211 100644 (file)
@@ -1431,7 +1431,6 @@ split_point_start: // At split points actual search starts from here
           // Prune moves with negative or equal SEE
           if (   futilityBase < beta
               && depth < DEPTH_ZERO
           // Prune moves with negative or equal SEE
           if (   futilityBase < beta
               && depth < DEPTH_ZERO
-              && bestValue > value_mated_in(PLY_MAX)
               && pos.see(move) <= 0)
               continue;
       }
               && pos.see(move) <= 0)
               continue;
       }