1
0
Fork 0
mirror of synced 2025-09-24 04:40:05 +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 statements_flattened
.push(FlatStatement::Definition( .push(FlatStatement::Condition(
lhs_name.clone(), FlatExpression::Identifier(lhs_name.clone()),
lhs_sum lhs_sum
) )
); );
@ -238,8 +238,8 @@ impl Flattener {
} }
statements_flattened statements_flattened
.push(FlatStatement::Definition( .push(FlatStatement::Condition(
rhs_name.clone(), FlatExpression::Identifier(rhs_name.clone()),
rhs_sum rhs_sum
) )
); );