diff --git a/r1cs-std/src/test_constraint_system.rs b/r1cs-std/src/test_constraint_system.rs index 3fb955f..765df33 100644 --- a/r1cs-std/src/test_constraint_system.rs +++ b/r1cs-std/src/test_constraint_system.rs @@ -37,8 +37,8 @@ impl TestConstraintSystem { Index::Aux(index) => aux[index].0, }; - tmp.mul_assign(&coeff); - acc.add_assign(&tmp); + tmp *= coeff; + acc += tmp; } acc