Skip to content

Commit

Permalink
Removing logs
Browse files Browse the repository at this point in the history
RogerTaule committed Jun 13, 2024
1 parent 5253e19 commit 9f4e1b1
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 0 additions & 3 deletions src/pil_info/helpers/code/generateCode.js
Original file line number Diff line number Diff line change
@@ -2,9 +2,6 @@ const { pilCodeGen, buildCode } = require("./codegen");

module.exports.generateExpressionsCode = function generateExpressionsCode(res, symbols, expressions, stark) {
const expressionsCode = [];
for(let i = 0; i < expressions.length; ++i) {
if(expressions[i].dim === 3) console.log(i);
}
for(let j = 0; j < expressions.length; ++j) {
const exp = expressions[j];
if(j === res.cExpId || j === res.friExpId) continue;
3 changes: 2 additions & 1 deletion src/witness/witnessCalculator.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
const { BigBuffer } = require("pilcom");
const F3g = require("../helpers/f3g");
const fs= require("fs");

@@ -62,7 +63,7 @@ class ColsPil2 {
this.F = new F3g();
this.$$n = degree;
this.$$nCols = symbols.length;
this.polBuffer = new Array(symbols.length*this.$$n).fill(0n);
this.polBuffer = new BigBuffer(symbols.length*this.$$n);

this.symbols = symbols;
for(let i = 0; i < symbols.length; ++i) {
2 changes: 1 addition & 1 deletion test/stark/pil2/stark_simple.test.js
Original file line number Diff line number Diff line change
@@ -82,7 +82,7 @@ describe("simple sm", async function () {
it("Simple3", async () => {
await runTest("simple3.pil");
});
it.only("Simple4", async () => {
it("Simple4", async () => {
await runTest("simple4.pil");
});
});

0 comments on commit 9f4e1b1

Please sign in to comment.