mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 16:23:09 +00:00
Remove obsolete code snippet from root_search
No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
8d1d9f7181
commit
43c93cb151
1 changed files with 0 additions and 9 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue