mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 16:47:37 +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();
|
rml.sort();
|
||||||
|
|
||||||
// Search to the current depth, rml is updated and sorted
|
// Search to the current depth, rml is updated and sorted
|
||||||
value = root_search(pos, ss, alpha, beta, depth, rml);
|
//value = root_search(pos, ss, alpha, beta, depth, rml);
|
||||||
//value = search<PV, false, true>(pos, ss, alpha, beta, depth, 0);
|
value = search<PV, false, true>(pos, ss, alpha, beta, depth, 0);
|
||||||
|
|
||||||
// Sort the moves before to return
|
// Sort the moves before to return
|
||||||
rml.sort();
|
rml.sort();
|
||||||
|
|||||||
Reference in New Issue
Block a user