diff --git a/src/search.cpp b/src/search.cpp index 1b546311..d23e91ef 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1248,8 +1248,8 @@ moves_loop: // When in check, search starts here r += 2111; // Note that if expected reduction is high, we reduce search depth here - value = - -search(pos, ss + 1, -(alpha + 1), -alpha, newDepth - (r > 3444), !cutNode); + value = -search(pos, ss + 1, -(alpha + 1), -alpha, + newDepth - (r > 3444) - (r > 5588 && newDepth > 2), !cutNode); } // For PV nodes only, do a full PV search on the first move or after a fail high,