Skip to content

Commit e73c303

Browse files
authored
Update benchmark.native.js
Signed-off-by: Harsh <[email protected]>
1 parent c5bd329 commit e73c303

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

lib/node_modules/@stdlib/math/base/special/minf/benchmark/benchmark.native.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,12 @@ bench( pkg+'::native', opts, function benchmark( b ) {
4444
var z;
4545
var i;
4646

47-
var opts = {
47+
x = uniform( 100, -100.0, 100.0, {
4848
'dtype': 'float32'
49-
};
50-
x = uniform( 100, -100.0, 100.0, opts );
51-
y = uniform( 100, -100.0, 100.0, opts );
49+
});
50+
y = uniform( 100, -100.0, 100.0, {
51+
'dtype': 'float32'
52+
});
5253

5354
b.tic();
5455
for ( i = 0; i < b.iterations; i++ ) {

0 commit comments

Comments
 (0)