diff --git a/src/search.rs b/src/search.rs index c2201881..192ca7e1 100644 --- a/src/search.rs +++ b/src/search.rs @@ -514,8 +514,8 @@ fn search( && estimated_score >= beta + 1125 * depth * depth / 128 + 26 * depth - (77 * improving as i32) + 519 * correction_value.abs() / 1024 - + 32 * (depth == 1) as i32 - 64 * ((td.board.all_threats() & td.board.us()).is_empty() && !td.board.in_check()) as i32 + + 32 && !is_loss(beta) && !is_win(estimated_score) {