Browse Source

Fix c tester usage of F.isZero

fix/c_tester
arnaucube 3 years ago
parent
commit
a320978214
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ports/c/tester.js

+ 1
- 1
ports/c/tester.js

@ -195,7 +195,7 @@ class CTester {
const b = evalLC(constraint[1]);
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) {

Loading…
Cancel
Save