Skip to content

Commit 7efc6f3

Browse files
committed
bench: fix symbol name
1 parent 17430f4 commit 7efc6f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/ndarray/filter/benchmark/benchmark.2d.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ var discreteUniform = require( '@stdlib/random/array/discrete-uniform' );
3030
var shape2strides = require( '@stdlib/ndarray/base/shape2strides' );
3131
var ndarray = require( '@stdlib/ndarray/ctor' );
3232
var pkg = require( './../package.json' ).name;
33-
var map = require( './../lib' );
33+
var filter = require( './../lib' );
3434

3535

3636
// VARIABLES //
@@ -94,7 +94,7 @@ function createBenchmark( len, shape, xtype, ytype, order ) {
9494

9595
b.tic();
9696
for ( i = 0; i < b.iterations; i++ ) {
97-
y = map( x, opts, predicate );
97+
y = filter( x, opts, predicate );
9898
if ( isnan( y.data[ i%y.length ] ) ) {
9999
b.fail( 'should not return NaN' );
100100
}

0 commit comments

Comments
 (0)