Skip to content

Commit ab70849

Browse files
committed
Auto-generated commit
1 parent 5abe60c commit ab70849

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222

2323
<details>
2424

25+
- [`1cc3e09`](https://github.com/stdlib-js/stdlib/commit/1cc3e095080947f8fdd61ea2217f9b3031b9f93b) - **docs:** fix annotation _(by Athan Reines)_
26+
- [`7efc6f3`](https://github.com/stdlib-js/stdlib/commit/7efc6f3c8f899974f7d11cb9e06f65f90d5caaa9) - **bench:** fix symbol name _(by Athan Reines)_
2527
- [`354a147`](https://github.com/stdlib-js/stdlib/commit/354a1472bd69ab26c020aa7ba1df043c88e985b2) - **docs:** add note _(by Athan Reines)_
2628
- [`80542fd`](https://github.com/stdlib-js/stdlib/commit/80542fd459075dc2c49f6e529a21bd661129899e) - **docs:** remove note _(by Athan Reines)_
2729
- [`d481f26`](https://github.com/stdlib-js/stdlib/commit/d481f264f68deee3497bf73480c2c88efc3a725f) - **feat:** add `ndarray/filter` _(by Athan Reines)_

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)