diff --git a/Rapfi/search/ab/search.cpp b/Rapfi/search/ab/search.cpp index 47470f4..efe0f2e 100644 --- a/Rapfi/search/ab/search.cpp +++ b/Rapfi/search/ab/search.cpp @@ -1161,13 +1161,13 @@ Value search(Board &board, SearchStack *ss, Value alpha, Value beta, Depth depth value = -search(board, ss + 1, -(alpha + 1), -alpha, d, true); if (value > alpha && d < newDepth) { - Depth ext = lmrExtension(newDepth, d, value, alpha, bestValue); - // Do not allow more extension if extra extension is already high - if (ss->extraExtension >= LMR_EXTRA_MAX_DEPTH) - ext = std::min(ext, 1.0f); - else - ss->extraExtension += std::max(ext - 1.0f, 0.0f); - newDepth += ext; + //Depth ext = lmrExtension(newDepth, d, value, alpha, bestValue); + //// Do not allow more extension if extra extension is already high + //if (ss->extraExtension >= LMR_EXTRA_MAX_DEPTH) + // ext = std::min(ext, 1.0f); + //else + // ss->extraExtension += std::max(ext - 1.0f, 0.0f); + //newDepth += ext; if (d < newDepth) value = -search(board,