From 6b8026806c80bb894e57d276629b35ed703f8489 Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Sun, 16 Jan 2011 13:38:05 +0100 Subject: [PATCH] Unify root_search() step 2 Enable the change: now we use search() instead of root_search() No functional change. Signed-off-by: Marco Costalba --- src/search.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/search.cpp b/src/search.cpp index 7e972022..bc0fff88 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -628,8 +628,8 @@ namespace { rml.sort(); // Search to the current depth, rml is updated and sorted - value = root_search(pos, ss, alpha, beta, depth, rml); - //value = search(pos, ss, alpha, beta, depth, 0); + //value = root_search(pos, ss, alpha, beta, depth, rml); + value = search(pos, ss, alpha, beta, depth, 0); // Sort the moves before to return rml.sort(); -- 2.39.2