X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;fp=src%2Fsearch.cpp;h=26010108dd4c94dfe6066261802b639c8a6cff2d;hp=e976274f28fd4369dc8793b4782e80ef7e7cabc7;hb=0256416bb7b3ba7e96a487062104a9379c0c3a82;hpb=6a6fc28551b84719868df99950584b878199d0c6 diff --git a/src/search.cpp b/src/search.cpp index e976274f..26010108 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1033,8 +1033,7 @@ moves_loop: // When in check, search starts from here // search without the ttMove. So we assume this expected Cut-node is not singular, // that multiple moves fail high, and we can prune the whole subtree by returning // a soft bound. - else if ( eval >= beta - && singularBeta >= beta) + else if (singularBeta >= beta) return singularBeta; }