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
|
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
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue