Fix printconstraints

This commit is contained in:
Jordi Baylina 2020-03-27 09:54:52 +01:00
parent ab4af3497f
commit 3c5919c771
No known key found for this signature in database
GPG Key ID: 7480C80C1BE43112

View File

@ -8,7 +8,7 @@ module.exports = function printR1cs(r1cs, syms) {
const lc2str = (lc) => {
let S = "";
for (let k in lc) {
let name = syms[k];
let name = syms.varIdx2Name[k];
if (name == "one") name = "";
let v = bigInt(lc[k]);
let vs;