X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=a10e1180c344a3af45a23bf293386d27cc48ddbf;hp=4ca9e9b8c0f834d8ccbcf91e3defdeae9fed24bd;hb=4bebb15e9426ec80ee50d016a812a49a36dd82bd;hpb=3b8f66f8accefe86db9296fa276e4b33cdc450e2 diff --git a/src/search.cpp b/src/search.cpp index 4ca9e9b8..a10e1180 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->reduction += ONE_PLY; + if (move == countermoves[0] || move == countermoves[1]) ss->reduction = std::max(DEPTH_ZERO, ss->reduction-ONE_PLY);