mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 05:07:46 +00:00
Unify root_search() step 2
Enable the change: now we use search() instead of root_search() No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
+2
-2
@@ -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<PV, false, true>(pos, ss, alpha, beta, depth, 0);
|
||||
//value = root_search(pos, ss, alpha, beta, depth, rml);
|
||||
value = search<PV, false, true>(pos, ss, alpha, beta, depth, 0);
|
||||
|
||||
// Sort the moves before to return
|
||||
rml.sort();
|
||||
|
||||
Reference in New Issue
Block a user