X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=fa92aa6f4a6a1d592c049812565513f4389ee8ea;hp=436b64382266e1e8b92144ce45b8b6431b9b9be4;hb=27a187729961fa9ad1910464556471bc7c8ce530;hpb=ea9c424bba07d522d4acff54f2883fc124574e50 diff --git a/src/search.cpp b/src/search.cpp index 436b6438..fa92aa6f 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -545,8 +545,7 @@ namespace { && !ss->skipNullMove && depth < 7 * ONE_PLY && eval - futility_margin(depth) >= beta - && abs(beta) < VALUE_MATE_IN_MAX_PLY - && abs(eval) < VALUE_KNOWN_WIN + && eval < VALUE_KNOWN_WIN // Do not return unproven wins && pos.non_pawn_material(pos.side_to_move())) return eval - futility_margin(depth); @@ -658,7 +657,6 @@ moves_loop: // When in check and at SpNode search starts from here singularExtensionNode = !RootNode && !SpNode && depth >= 8 * ONE_PLY - && abs(beta) < VALUE_KNOWN_WIN && ttMove != MOVE_NONE /* && ttValue != VALUE_NONE Already implicit in the next condition */ && abs(ttValue) < VALUE_KNOWN_WIN