Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Dec 14, 2024
1 parent 5abe60c commit ab70849
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@

<details>

- [`1cc3e09`](https://github.com/stdlib-js/stdlib/commit/1cc3e095080947f8fdd61ea2217f9b3031b9f93b) - **docs:** fix annotation _(by Athan Reines)_
- [`7efc6f3`](https://github.com/stdlib-js/stdlib/commit/7efc6f3c8f899974f7d11cb9e06f65f90d5caaa9) - **bench:** fix symbol name _(by Athan Reines)_
- [`354a147`](https://github.com/stdlib-js/stdlib/commit/354a1472bd69ab26c020aa7ba1df043c88e985b2) - **docs:** add note _(by Athan Reines)_
- [`80542fd`](https://github.com/stdlib-js/stdlib/commit/80542fd459075dc2c49f6e529a21bd661129899e) - **docs:** remove note _(by Athan Reines)_
- [`d481f26`](https://github.com/stdlib-js/stdlib/commit/d481f264f68deee3497bf73480c2c88efc3a725f) - **feat:** add `ndarray/filter` _(by Athan Reines)_
Expand Down
4 changes: 2 additions & 2 deletions benchmark/benchmark.2d.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ var discreteUniform = require( '@stdlib/random-array-discrete-uniform' );
var shape2strides = require( '@stdlib/ndarray-base-shape2strides' );
var ndarray = require( '@stdlib/ndarray-ctor' );
var pkg = require( './../package.json' ).name;
var map = require( './../lib' );
var filter = require( './../lib' );


// VARIABLES //
Expand Down Expand Up @@ -94,7 +94,7 @@ function createBenchmark( len, shape, xtype, ytype, order ) {

b.tic();
for ( i = 0; i < b.iterations; i++ ) {
y = map( x, opts, predicate );
y = filter( x, opts, predicate );
if ( isnan( y.data[ i%y.length ] ) ) {
b.fail( 'should not return NaN' );
}
Expand Down
Loading

0 comments on commit ab70849

Please sign in to comment.