Compare commits

..

1 Commits

Author SHA1 Message Date
arnaucube
a320978214 Fix c tester usage of F.isZero 2020-12-09 13:14:32 +01:00

View File

@@ -195,7 +195,7 @@ class CTester {
const b = evalLC(constraint[1]); const b = evalLC(constraint[1]);
const c = evalLC(constraint[2]); const c = evalLC(constraint[2]);
assert (F.sub(F.mul(a,b), c).isZero(), "Constraint doesn't match"); assert (F.isZero(F.sub(F.mul(a,b), c)), "Constraint doesn't match");
} }
function evalLC(lc) { function evalLC(lc) {