From 43c93cb15129692e600a5857668c3a83ec5c3b64 Mon Sep 17 00:00:00 2001 From: Joona Kiiski Date: Wed, 3 Mar 2010 18:53:46 +0200 Subject: [PATCH] Remove obsolete code snippet from root_search No functional change. Signed-off-by: Marco Costalba --- src/search.cpp | 9 --------- 1 file changed, 9 deletions(-) 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; -- 2.39.2