Skip to content

Commit 3048a10

Browse files
committed
Auto-generated commit
1 parent 374eae0 commit 3048a10

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3507,6 +3507,7 @@ A total of 557 issues were closed in this release:
35073507

35083508
<details>
35093509

3510+
- [`b0026d0`](https://github.com/stdlib-js/stdlib/commit/b0026d091a1595b5d28302b5cfb9a40484cfede6) - **bench:** fix dtype _(by Athan Reines)_
35103511
- [`2eb8eb5`](https://github.com/stdlib-js/stdlib/commit/2eb8eb54227d35ea5f5d4df5174393064c2b0dac) - **feat:** add `stats/nanmeanpn` [(#8780)](https://github.com/stdlib-js/stdlib/pull/8780) _(by Pratik, Athan Reines)_
35113512
- [`fe1bf6a`](https://github.com/stdlib-js/stdlib/commit/fe1bf6a0a542d66c0ff5eaecd8ea40cb98500e0b) - **feat:** add `stats/base/ndarray/snanmskrange` [(#8788)](https://github.com/stdlib-js/stdlib/pull/8788) _(by Kaustubh Patange)_
35123513
- [`97deb1c`](https://github.com/stdlib-js/stdlib/commit/97deb1c5eb5a78230bb13a40c4bd2faf20541886) - **feat:** add `stats/nanminabs` [(#8768)](https://github.com/stdlib-js/stdlib/pull/8768) _(by Pratik)_

base/ndarray/snanmskrange/benchmark/benchmark.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ var snanmskrange = require( './../lib' );
3535
var options = {
3636
'dtype': 'float32'
3737
};
38+
var moptions = {
39+
'dtype': 'uint8'
40+
};
3841

3942

4043
// FUNCTIONS //
@@ -55,8 +58,8 @@ function createBenchmark( len ) {
5558
xbuf = uniform( len, -100.0, 100.0, options );
5659
x = new ndarray( options.dtype, xbuf, [ len ], [ 1 ], 0, 'row-major' );
5760

58-
mbuf = bernoulli( len, 0.2, options );
59-
mask = new ndarray( options.dtype, mbuf, [ len ], [ 1 ], 0, 'row-major' );
61+
mbuf = bernoulli( len, 0.2, moptions );
62+
mask = new ndarray( moptions.dtype, mbuf, [ len ], [ 1 ], 0, 'row-major' );
6063

6164
return benchmark;
6265

0 commit comments

Comments
 (0)