X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=28049e87dcd8dd49a4f21242c88bf8ffa1d9a1bd;hp=73fc8a55fef18d57212ff4bf0deaf7a87ffa846f;hb=673841301b0cc6ed78c4db3e6ec2a0b9a010c8cb;hpb=c8459b18ba2d6ddc76d6db90d6eab346ed682e69 diff --git a/src/search.cpp b/src/search.cpp index 73fc8a55..28049e87 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1123,18 +1123,9 @@ moves_loop: // When in check, search starts here else if (singularBeta >= beta) return singularBeta; - // If the eval of ttMove is greater than beta we try also if there is another - // move that pushes it over beta, if so the position also has probably multiple - // moves giving fail highs. We will then reduce the ttMove (negative extension). + // If the eval of ttMove is greater than beta, we reduce it (negative extension) else if (ttValue >= beta) - { - ss->excludedMove = move; - value = search(pos, ss, beta - 1, beta, (depth + 3) / 2, cutNode); - ss->excludedMove = MOVE_NONE; - - if (value >= beta) - extension = -2; - } + extension = -2; } // Capture extensions for PvNodes and cutNodes