Skip to content

Commit c8c3266

Browse files
committed
Auto-generated commit
1 parent e73af47 commit c8c3266

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

CHANGELOG.md

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

7-
## Unreleased (2026-06-17)
7+
## Unreleased (2026-07-02)
88

99
<section class="commits">
1010

1111
### Commits
1212

1313
<details>
1414

15+
- [`5dee19d`](https://github.com/stdlib-js/stdlib/commit/5dee19dbe000c3512c48f5546478b66a41a2a062) - **bench:** use consistent assertions [(#13229)](https://github.com/stdlib-js/stdlib/pull/13229) _(by Philipp Burckhardt)_
1516
- [`dbe4c82`](https://github.com/stdlib-js/stdlib/commit/dbe4c820ea98330253b4054a5bc9b04b2293415b) - **docs:** propagate fixes to sibling packages [(#12677)](https://github.com/stdlib-js/stdlib/pull/12677) _(by Philipp Burckhardt, Athan Reines)_
1617
- [`9a51841`](https://github.com/stdlib-js/stdlib/commit/9a51841213eb13adbd6b8fe36d96c00aac9fbb17) - **bench:** refactor to use string interpolation in `stats/base` [(#11393)](https://github.com/stdlib-js/stdlib/pull/11393) _(by Karan Anand)_
1718
- [`ee1f1a7`](https://github.com/stdlib-js/stdlib/commit/ee1f1a7b7d7de0dba506731a05698e0bb43b2d1c) - **docs:** fix wrong section order in `stats/base/dists` and `stats/strided` READMEs _(by Philipp Burckhardt)_

benchmark/c/benchmark.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
#include "stdlib/stats/base/dists/planck/mgf.h"
2020
#include <stdlib.h>
2121
#include <stdio.h>
22-
#include <math.h>
2322
#include <time.h>
2423
#include <sys/time.h>
2524

@@ -107,13 +106,13 @@ static double benchmark( void ) {
107106
start = tic();
108107
for ( i = 0; i < ITERATIONS; i++ ) {
109108
y = stdlib_base_dists_planck_mgf( t[ i%100 ], lambda[ i%100 ] );
110-
if ( isnan( y ) ) {
109+
if ( y != y ) {
111110
printf( "should not return NaN\n" );
112111
break;
113112
}
114113
}
115114
elapsed = tic() - start;
116-
if ( isnan( y ) ) {
115+
if ( y != y ) {
117116
printf( "should not return NaN\n" );
118117
}
119118
return elapsed;

0 commit comments

Comments
 (0)