Skip to content

Commit cc07580

Browse files
authored
bench: refactor to use existing options object
Signed-off-by: Athan <[email protected]>
1 parent f39ea51 commit cc07580

File tree

1 file changed

+1
-3
lines changed
  • lib/node_modules/@stdlib/blas/ext/base/ndarray/gsorthp/benchmark

1 file changed

+1
-3
lines changed

lib/node_modules/@stdlib/blas/ext/base/ndarray/gsorthp/benchmark/benchmark.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,7 @@ function createBenchmark( len ) {
5353
xbuf = uniform( len, 0.0, 100.0, options );
5454
x = new ndarray( options.dtype, xbuf, [ len ], [ 1 ], 0, 'row-major' );
5555

56-
order = scalar2ndarray( -1.0, {
57-
'dtype': 'generic'
58-
});
56+
order = scalar2ndarray( -1.0, options );
5957

6058
return benchmark;
6159

0 commit comments

Comments
 (0)