X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=fd5378f92e751050f2217a7d877213926b9dd39c;hp=0f937ed029d1fd749378c64e7326dc4edb4e44cc;hb=932ae761c6e3fd3e9b202283379e487a5c187989;hpb=29fa6f3c5f8a700567a20c0dd2caf18876f736a0;ds=sidebyside diff --git a/src/search.cpp b/src/search.cpp index 0f937ed0..fd5378f9 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -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