]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Sync Root new depth to what we do in search()
[stockfish] / src / search.cpp
index 0f937ed029d1fd749378c64e7326dc4edb4e44cc..fd5378f92e751050f2217a7d877213926b9dd39c 100644 (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;
 
       // 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
 
       // Step 12. Futility pruning (is omitted in PV nodes)
       if (   !PvNode