mirror of
https://github.com/arnaucube/ark-r1cs-std.git
synced 2026-01-10 16:01:28 +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,
|
Index::Aux(index) => aux[index].0,
|
||||||
};
|
};
|
||||||
|
|
||||||
tmp.mul_assign(&coeff);
|
tmp *= coeff;
|
||||||
acc.add_assign(&tmp);
|
acc += tmp;
|
||||||
}
|
}
|
||||||
|
|
||||||
acc
|
acc
|
||||||
|
|||||||
Reference in New Issue
Block a user