From a320978214c23a17feea569971513f6f377c92fe Mon Sep 17 00:00:00 2001 From: arnaucube Date: Wed, 9 Dec 2020 13:14:32 +0100 Subject: [PATCH] Fix c tester usage of F.isZero --- ports/c/tester.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ports/c/tester.js b/ports/c/tester.js index 5a8fa0e..fdd1b15 100644 --- a/ports/c/tester.js +++ b/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) {