1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 08:43:09 +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:
Marco Costalba 2011-01-16 13:38:05 +01:00
parent 299bda9ea3
commit 6b8026806c

View file

@ -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();