]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Simplify condition for ProbCut move count pruning
[stockfish] / src / search.cpp
index b2622ab3c2598cd4355883b426cb8a72477027e9..0f599fc29f88d9d37e38bea7d0301f62079d5cc0 100644 (file)
@@ -766,7 +766,7 @@ namespace {
         int probCutCount = 0;
 
         while (  (move = mp.next_move()) != MOVE_NONE
-               && probCutCount < depth / ONE_PLY - 3)
+               && probCutCount < 3)
             if (pos.legal(move))
             {
                 probCutCount++;