use conditions for sum checks, fix example expected witness
This commit is contained in:
parent
87ccd9b669
commit
36f66194cc
2 changed files with 5 additions and 5 deletions
|
@ -1 +1 @@
|
|||
~out_0 1
|
||||
~out_0 0
|
|
@ -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
|
||||
)
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue