Skip to content

Commit

Permalink
chore: fix linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
josdejong committed Feb 8, 2024
1 parent 7d2497c commit 2fc7960
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/benchmark/scope_variables.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,11 @@ const f = math.evaluate('f(x, y) = a + b + c + x + y', scope)

console.log('f(5, 6) = ' + f(5, 6))

const results = []

const suite = new Benchmark.Suite()
let res = 0
suite
.add('evaluate f(x, y)', function () {
res = f(-res, res) // just make it dynamic, using res as argument
res = f(-res, res) // make it dynamic, using res as argument
})
.on('cycle', function (event) {
console.log(String(event.target))
Expand Down

0 comments on commit 2fc7960

Please sign in to comment.