Add new additive and multiplcative ops for fields
Pratyush Mishra pratyushmishra@berkeley.edu
Fri, 14 Feb 2020 13:08:44 -0800
1 files changed,
2 insertions(+),
2 deletions(-)
M
r1cs-std/src/test_constraint_system.rs
→
r1cs-std/src/test_constraint_system.rs
@@ -37,8 +37,8 @@ Index::Input(index) => inputs[index].0,
Index::Aux(index) => aux[index].0, }; - tmp.mul_assign(&coeff); - acc.add_assign(&tmp); + tmp *= coeff; + acc += tmp; } acc