X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=ffe724aa10a864d8b3fad173c5a91c5fa9bb7e26;hp=b4405fcf02845c2033f46aa60ab416d811e18136;hb=a18c2c2c3f38070cb897a8a28cf1d6d45236ded4;hpb=d06a8d0c188b796e115d503f85906fadb5625c70 diff --git a/src/search.cpp b/src/search.cpp index b4405fcf..ffe724aa 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -879,7 +879,7 @@ moves_loop: // When in check search starts from here // (alpha-s, beta-s), and just one fails high on (alpha, beta), then that move // is singular and should be extended. To verify this we do a reduced search // on all the other moves but the ttMove and if the result is lower than - // ttValue minus a margin then we extend the ttMove. + // ttValue minus a margin then we will extend the ttMove. if ( singularExtensionNode && move == ttMove && pos.legal(move)) @@ -1283,6 +1283,7 @@ moves_loop: // When in check search starts from here // Detect non-capture evasions that are candidates to be pruned evasionPrunable = InCheck + && depth != DEPTH_ZERO && bestValue > VALUE_MATED_IN_MAX_PLY && !pos.capture(move);