Skip to content

Commit 3972e85

Browse files
committed
Auto-generated commit
1 parent 3bf433b commit 3972e85

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2025-01-19)
7+
## Unreleased (2025-02-05)
88

99
<section class="features">
1010

@@ -22,6 +22,7 @@
2222

2323
<details>
2424

25+
- [`93c884d`](https://github.com/stdlib-js/stdlib/commit/93c884d677c3c79c24a451a0f1badf45d8b6ee16) - **bench:** update `NaN` generation in `stats/base/*` [(#5044)](https://github.com/stdlib-js/stdlib/pull/5044) _(by Aayush Khanna)_
2526
- [`be4a2ee`](https://github.com/stdlib-js/stdlib/commit/be4a2ee6c7b47dc85b09f6b8678c98b46b48aa33) - **feat:** add C ndarray interface and refactor implementation for `stats/base/dnanmeanpw` [(#4763)](https://github.com/stdlib-js/stdlib/pull/4763) _(by Aayush Khanna, Athan Reines, Muhammad Haris)_
2627
- [`62364f6`](https://github.com/stdlib-js/stdlib/commit/62364f62ea823a3b52c2ad25660ecd80c71f8f36) - **style:** fix C comment alignment _(by Philipp Burckhardt)_
2728
- [`9e689ff`](https://github.com/stdlib-js/stdlib/commit/9e689ffcb7c6223afc521f1e574b42f10921cf5e) - **chore:** fix indentation in manifest.json files _(by Philipp Burckhardt)_

benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ var dnanmeanpw = require( './../lib/dnanmeanpw.js' );
3939
* @returns {number} random number or `NaN`
4040
*/
4141
function rand() {
42-
if ( bernoulli( 0.2 ) ) {
42+
if ( bernoulli( 0.8 ) < 1 ) {
4343
return NaN;
4444
}
4545
return uniform( -10.0, 10.0 );

benchmark/benchmark.native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ var opts = {
4848
* @returns {number} random number or `NaN`
4949
*/
5050
function rand() {
51-
if ( bernoulli( 0.2 ) ) {
51+
if ( bernoulli( 0.8 ) < 1 ) {
5252
return NaN;
5353
}
5454
return uniform( -10.0, 10.0 );

benchmark/benchmark.ndarray.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ var dnanmeanpw = require( './../lib/ndarray.js' );
3939
* @returns {number} random number or `NaN`
4040
*/
4141
function rand() {
42-
if ( bernoulli( 0.2 ) ) {
42+
if ( bernoulli( 0.8 ) < 1 ) {
4343
return NaN;
4444
}
4545
return uniform( -10.0, 10.0 );

benchmark/benchmark.ndarray.native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ var opts = {
4848
* @returns {number} random number or `NaN`
4949
*/
5050
function rand() {
51-
if ( bernoulli( 0.2 ) ) {
51+
if ( bernoulli( 0.8 ) < 1 ) {
5252
return NaN;
5353
}
5454
return uniform( -10.0, 10.0 );

0 commit comments

Comments
 (0)