From b08c01b22737633f8837bd483af6863fb8d6a9a1 Mon Sep 17 00:00:00 2001 From: GUNJ JOSHI Date: Fri, 23 Aug 2024 13:31:34 +0530 Subject: [PATCH] chore: use correct range for benchmarks --- .../@stdlib/math/base/special/xlogyf/benchmark/benchmark.js | 4 ++-- .../math/base/special/xlogyf/benchmark/benchmark.native.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/xlogyf/benchmark/benchmark.js b/lib/node_modules/@stdlib/math/base/special/xlogyf/benchmark/benchmark.js index 0c591a76eb9..d6b6b831d14 100644 --- a/lib/node_modules/@stdlib/math/base/special/xlogyf/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/math/base/special/xlogyf/benchmark/benchmark.js @@ -35,8 +35,8 @@ bench( pkg, function benchmark( b ) { var y; var i; - x = randu( 100, -100.0, 100.0 ); - y = randu( 100, -100.0, 100.0 ); + x = randu( 100, 1.0, 100.0 ); + y = randu( 100, 1.0, 100.0 ); b.tic(); for ( i = 0; i < b.iterations; i++ ) { diff --git a/lib/node_modules/@stdlib/math/base/special/xlogyf/benchmark/benchmark.native.js b/lib/node_modules/@stdlib/math/base/special/xlogyf/benchmark/benchmark.native.js index 584faa5fe04..97878c60e01 100644 --- a/lib/node_modules/@stdlib/math/base/special/xlogyf/benchmark/benchmark.native.js +++ b/lib/node_modules/@stdlib/math/base/special/xlogyf/benchmark/benchmark.native.js @@ -44,8 +44,8 @@ bench( pkg+'::native', opts, function benchmark( b ) { var y; var i; - x = randu( 100, -100.0, 100.0 ); - y = randu( 100, -100.0, 100.0 ); + x = randu( 100, 1.0, 100.0 ); + y = randu( 100, 1.0, 100.0 ); b.tic(); for ( i = 0; i < b.iterations; i++ ) {