1
0
mirror of https://github.com/ellmau/adf-obdd.git synced 2025-12-19 09:29:36 +01:00

Fix rustfmt

This commit is contained in:
Stefan Ellmauthaler 2022-06-21 16:11:30 +02:00
parent dece879b27
commit 57cdb469a0
Failed to extract signature

View File

@ -326,17 +326,15 @@ impl Adf {
&biodivine_lib_bdd::boolean_expression::BooleanExpression::Const(true), &biodivine_lib_bdd::boolean_expression::BooleanExpression::Const(true),
), ),
|acc, (idx, formula)| { |acc, (idx, formula)| {
acc.and( acc.and(&formula.iff(
&formula.iff( &self.varset.eval_expression(
&self.varset.eval_expression( &biodivine_lib_bdd::boolean_expression::BooleanExpression::Variable(
&biodivine_lib_bdd::boolean_expression::BooleanExpression::Variable( self.ordering
self.ordering .name(crate::datatypes::Var(idx))
.name(crate::datatypes::Var(idx)) .expect("Variable should exist"),
.expect("Variable should exist"),
),
), ),
), ),
) ))
}, },
) )
} }