diff --git a/src/search.cpp b/src/search.cpp index 2f0b164a..d6e9bb75 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -882,7 +882,7 @@ Value Search::Worker::search( // probCut there and in further interactions with transposition table cutoff // depth is set to depth - 3 because probCut search has depth set to depth - 4 // but we also do a move before it. So effective depth is equal to depth - 3. - && !(ttData.depth >= depth - 3 && is_valid(ttData.value) && ttData.value < probCutBeta)) + && !(is_valid(ttData.value) && ttData.value < probCutBeta)) { assert(probCutBeta < VALUE_INFINITE && probCutBeta > beta);