diff --git a/src/search.cpp b/src/search.cpp index 7c9c1b69..8415e24d 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -834,8 +834,7 @@ namespace { if ( depth >= 8 * ONE_PLY && !ttMove) { - Depth d = 3 * depth / 4 - 2 * ONE_PLY; - search(pos, ss, alpha, beta, d, cutNode); + search(pos, ss, alpha, beta, depth - 7 * ONE_PLY, cutNode); tte = TT.probe(posKey, ttHit); ttValue = ttHit ? value_from_tt(tte->value(), ss->ply) : VALUE_NONE;