Sync Root new depth to what we do in search()

This allow us to restore the old depth 12 benchmark
and fixes one and for all the depth mess.

Test confirms no regression:
After 5658 games 892 - 924 - 3842  ELO -1 (+- 5.2)

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2011-02-17 08:55:56 +01:00
parent 29fa6f3c5f
commit 932ae761c6
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1070,7 +1070,7 @@ split_point_start: // At split points actual search starts from here
// Update current move (this must be done after singular extension search)
ss->currentMove = move;
newDepth = depth - (!Root ? ONE_PLY : DEPTH_ZERO) + ext;
newDepth = depth - ONE_PLY + ext;
// Step 12. Futility pruning (is omitted in PV nodes)
if ( !PvNode