From: Marco Costalba Date: Sun, 16 Jan 2011 12:38:05 +0000 (+0100) Subject: Unify root_search() step 2 X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=6b8026806c80bb894e57d276629b35ed703f8489 Unify root_search() step 2 Enable the change: now we use search() instead of root_search() No functional change. Signed-off-by: Marco Costalba --- 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();