X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fsearch.cpp;h=fbc1755be73ceb005aaf516a01b98730e8478bee;hb=e551964ef63e4e4af4bb6132538b98fad4a51afe;hp=740ad71efee01461cc40b5992c757f2caa4db81e;hpb=e355c7059468048bbb8b9f10e2b32606aa72eb77;p=stockfish diff --git a/src/search.cpp b/src/search.cpp index 740ad71e..fbc1755b 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1097,6 +1097,10 @@ moves_loop: // When in check, search starts here else if (ttValue >= beta) extension = -2 - !PvNode; + // If we are on a cutNode, reduce it based on depth (negative extension) (~1 Elo) + else if (cutNode) + extension = depth > 8 && depth < 17 ? -3 : -1; + // If the eval of ttMove is less than value, we reduce it (negative extension) (~1 Elo) else if (ttValue <= value) extension = -1;