We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5155193 commit 0421dfdCopy full SHA for 0421dfd
src/policy/compiler.rs
@@ -895,12 +895,12 @@ where
895
};
896
897
let dissat_probs = |w: f64| -> Vec<Option<f64>> {
898
- let mut dissat_set = Vec::new();
899
- dissat_set.push(Some(dissat_prob.unwrap_or(0 as f64) + w * sat_prob));
900
- dissat_set.push(Some(w * sat_prob));
901
- dissat_set.push(dissat_prob);
902
- dissat_set.push(None);
903
- dissat_set
+ vec![
+ Some(dissat_prob.unwrap_or(0 as f64) + w * sat_prob),
+ Some(w * sat_prob),
+ dissat_prob,
+ None,
+ ]
904
905
906
let mut l_comp = vec![];
0 commit comments