diff --git a/src/reduction/alpha.rs b/src/reduction/alpha.rs index b255e9f7..a13a9056 100644 --- a/src/reduction/alpha.rs +++ b/src/reduction/alpha.rs @@ -16,7 +16,10 @@ pub(crate) fn try_alpha_reductions( alphas: &HashSet, eval: &Evaluator, ) { - assert!(!alphas.is_empty()); + if alphas.is_empty() { + return; + } + let alphas = alphas.iter().collect::>(); let alphas_iter = alphas.par_iter().with_max_len(1); alphas_iter