From 2fc796063a974898fd6cbf76aa39c6472476eed4 Mon Sep 17 00:00:00 2001 From: Jos de Jong Date: Thu, 8 Feb 2024 09:21:17 +0100 Subject: [PATCH] chore: fix linting issue --- test/benchmark/scope_variables.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/benchmark/scope_variables.js b/test/benchmark/scope_variables.js index 6acef0d5cc..a1907b9efc 100644 --- a/test/benchmark/scope_variables.js +++ b/test/benchmark/scope_variables.js @@ -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))