From: Joona Kiiski Date: Wed, 3 Mar 2010 16:53:46 +0000 (+0200) Subject: Remove obsolete code snippet from root_search X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=43c93cb15129692e600a5857668c3a83ec5c3b64 Remove obsolete code snippet from root_search No functional change. Signed-off-by: Marco Costalba --- diff --git a/src/search.cpp b/src/search.cpp index 80764533..b48ead09 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -811,15 +811,6 @@ namespace { // Loop through all the moves in the root move list for (int i = 0; i < rml.move_count() && !AbortSearch; i++) { - if (alpha >= beta) - { - // We failed high, invalidate and skip next moves, leave node-counters - // and beta-counters as they are and quickly return, we will try to do - // a research at the next iteration with a bigger aspiration window. - rml.set_move_score(i, -VALUE_INFINITE); - continue; - } - // This is used by time management and starts from 1 RootMoveNumber = i + 1;