Skip to content

Commit d0c4f6a

Browse files
authored
bench: apply suggestions from code review
Signed-off-by: Muhammad Haris <[email protected]>
1 parent f4a0f91 commit d0c4f6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/blas/ext/find-index/benchmark/benchmark.assign.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ var uniform = require( '@stdlib/random/array/uniform' );
2727
var zeros = require( '@stdlib/ndarray/zeros' );
2828
var ndarray = require( '@stdlib/ndarray/base/ctor' );
2929
var pkg = require( './../package.json' ).name;
30-
var indexOf = require( './../lib' );
30+
var findIndex = require( './../lib' );
3131

3232

3333
// VARIABLES //
@@ -82,7 +82,7 @@ function createBenchmark( len ) {
8282

8383
b.tic();
8484
for ( i = 0; i < b.iterations; i++ ) {
85-
o = indexOf.assign( x, out, clbk );
85+
o = findIndex.assign( x, out, clbk );
8686
if ( typeof o !== 'object' ) {
8787
b.fail( 'should return an ndarray' );
8888
}

0 commit comments

Comments
 (0)