X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=bfab6a4e1cd2829408f1e0d849f3962ab9fd77db;hp=4ca9e9b8c0f834d8ccbcf91e3defdeae9fed24bd;hb=d54e8a59551a7ebcbf2c2155dce46c7386b1742a;hpb=3b8f66f8accefe86db9296fa276e4b33cdc450e2 diff --git a/src/search.cpp b/src/search.cpp index 4ca9e9b8..bfab6a4e 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -948,6 +948,10 @@ split_point_start: // At split points actual search starts from here && move != ss->killers[1]) { ss->reduction = reduction(depth, moveCount); + + if (!PvNode && cutNode && (ss-1)->reduction) + ss->reduction += ONE_PLY; + if (move == countermoves[0] || move == countermoves[1]) ss->reduction = std::max(DEPTH_ZERO, ss->reduction-ONE_PLY);