Skip to content

Commit c7de42f

Browse files
authored
bench: simplify expression
Signed-off-by: Athan <kgryte@gmail.com>
1 parent b55b1ac commit c7de42f

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

  • lib/node_modules/@stdlib/blas/ext/base/ndarray/gjoin/benchmark

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

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

57-
separator = scalar2ndarray( ',', {
58-
'dtype': options.dtype
59-
});
57+
separator = scalar2ndarray( ',', options );
6058

6159
return benchmark;
6260

0 commit comments

Comments
 (0)