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

Updated rustfmt to match the version on the server-CI

This commit is contained in:
Stefan Ellmauthaler 2022-06-21 16:21:07 +02:00
parent 273973f378
commit f99d6171e9
Failed to extract signature
2 changed files with 10 additions and 8 deletions

View File

@ -35,7 +35,7 @@
RUST_LOG = "debug"; RUST_LOG = "debug";
RUST_BACKTRACE = 1; RUST_BACKTRACE = 1;
buildInputs = [ buildInputs = [
pkgs.rust-bin.nightly.latest.rustfmt pkgs.rust-bin.stable.latest.rustfmt
pkgs.rust-bin.stable.latest.default pkgs.rust-bin.stable.latest.default
pkgs.rust-analyzer pkgs.rust-analyzer
pkgs.cargo-audit pkgs.cargo-audit

View File

@ -327,7 +327,8 @@ 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(&formula.iff( acc.and(
&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
@ -335,7 +336,8 @@ impl Adf {
.expect("Variable should exist"), .expect("Variable should exist"),
), ),
), ),
)) ),
)
}, },
) )
} }