diff --git a/src/search.cpp b/src/search.cpp index 792c9729..c3360ad1 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -777,7 +777,8 @@ namespace { // The depth condition is important for mate finding. if ( !ss->ttPv && depth < 9 - && eval - futility_margin(depth, improving) >= beta + && eval - futility_margin(depth, improving) - (ss-1)->statScore / 256 >= beta + && eval >= beta && eval < 15000) // 50% larger than VALUE_KNOWN_WIN, but smaller than TB wins. return eval;