mirror of
https://github.com/arnaucube/ark-r1cs-std.git
synced 2026-01-09 23:41:33 +01:00
Add new additive and multiplcative ops for fields
This commit is contained in:
@@ -37,8 +37,8 @@ impl<ConstraintF: Field> TestConstraintSystem<ConstraintF> {
|
||||
Index::Aux(index) => aux[index].0,
|
||||
};
|
||||
|
||||
tmp.mul_assign(&coeff);
|
||||
acc.add_assign(&tmp);
|
||||
tmp *= coeff;
|
||||
acc += tmp;
|
||||
}
|
||||
|
||||
acc
|
||||
|
||||
Reference in New Issue
Block a user