Skip to content

Commit c5bd329

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

File tree

1 file changed

+5
-4
lines changed
  • lib/node_modules/@stdlib/math/base/special/minf/benchmark

1 file changed

+5
-4
lines changed

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,12 @@ bench( pkg, function benchmark( b ) {
3535
var z;
3636
var i;
3737

38-
var opts = {
38+
x = uniform( 100, -100.0, 100.0, {
3939
'dtype': 'float32'
40-
};
41-
x = uniform( 100, -100.0, 100.0, opts );
42-
y = uniform( 100, -100.0, 100.0, opts );
40+
});
41+
y = uniform( 100, -100.0, 100.0, {
42+
'dtype': 'float32'
43+
});
4344

4445
b.tic();
4546
for ( i = 0; i < b.iterations; i++ ) {

0 commit comments

Comments
 (0)