X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=45e0888d5efbfb58493075fb0b1c6699615046f6;hp=3529627fd4d946949c9794b487f6c7eea44b25c8;hb=c97104e8540b72ee2c6c9c13d3773d2c0f9ec32f;hpb=d99a95df29574634146ec04a20726829681b2e23 diff --git a/src/search.cpp b/src/search.cpp index 3529627f..45e0888d 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1241,7 +1241,7 @@ namespace { else if ( !value_is_mate(beta) && approximateEval < beta - RazorMargin && depth < RazorDepth - && (RazorAtDepthOne || depth >= 2*OnePly) + && (RazorAtDepthOne || depth > OnePly) && ttMove == MOVE_NONE && !pos.has_pawn_on_7th(pos.side_to_move())) {