mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 16:53: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:
parent
299bda9ea3
commit
6b8026806c
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||||
|
|
Loading…
Add table
Reference in a new issue