diff --git a/src/search.cpp b/src/search.cpp index cf640a0a..6bdf255c 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -646,6 +646,7 @@ namespace { && !inCheck && eval - futility_margin(depth, (ss-1)->futilityMoveCount) >= beta && abs(beta) < VALUE_MATE_IN_MAX_PLY + && abs(eval) < VALUE_KNOWN_WIN && pos.non_pawn_material(pos.side_to_move())) return eval - futility_margin(depth, (ss-1)->futilityMoveCount);