1
0
Fork 0
mirror of synced 2025-09-23 12:18:44 +00:00

use conditions for sum checks, fix example expected witness

This commit is contained in:
schaeff 2018-08-31 13:41:13 +02:00
parent 87ccd9b669
commit 36f66194cc
2 changed files with 5 additions and 5 deletions

View file

@ -1 +1 @@
~out_0 1
~out_0 0

View file

@ -203,8 +203,8 @@ impl Flattener {
}
statements_flattened
.push(FlatStatement::Definition(
lhs_name.clone(),
.push(FlatStatement::Condition(
FlatExpression::Identifier(lhs_name.clone()),
lhs_sum
)
);
@ -238,8 +238,8 @@ impl Flattener {
}
statements_flattened
.push(FlatStatement::Definition(
rhs_name.clone(),
.push(FlatStatement::Condition(
FlatExpression::Identifier(rhs_name.clone()),
rhs_sum
)
);