Skip to content

Commit 97513ed

Browse files
committed
Auto-generated commit
1 parent 9c7e9f4 commit 97513ed

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-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-04-23)
7+
## Unreleased (2025-04-25)
88

99
<section class="features">
1010

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

2323
<details>
2424

25+
- [`b455b55`](https://github.com/stdlib-js/stdlib/commit/b455b550546bb22da11b94d0213bc54a74a08bed) - **bench:** use single-precision assertion utility _(by Athan Reines)_
2526
- [`9911f30`](https://github.com/stdlib-js/stdlib/commit/9911f30a5b84c02396de8bab5df59c322f48c63b) - **test:** fix test case _(by Athan Reines)_
2627
- [`876adb0`](https://github.com/stdlib-js/stdlib/commit/876adb06cf3397bc3da540cbbcc794f51bca5fef) - **feat:** add `stats/base/ndarray/smax` _(by Athan Reines)_
2728

benchmark/benchmark.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
var bench = require( '@stdlib/bench-harness' );
2424
var uniform = require( '@stdlib/random-array-uniform' );
25-
var isnan = require( '@stdlib/math-base-assert-is-nan' );
25+
var isnanf = require( '@stdlib/math-base-assert-is-nanf' );
2626
var pow = require( '@stdlib/math-base-special-pow' );
2727
var ndarray = require( '@stdlib/ndarray-base-ctor' );
2828
var pkg = require( './../package.json' ).name;
@@ -61,12 +61,12 @@ function createBenchmark( len ) {
6161
b.tic();
6262
for ( i = 0; i < b.iterations; i++ ) {
6363
v = smax( [ x ] );
64-
if ( isnan( v ) ) {
64+
if ( isnanf( v ) ) {
6565
b.fail( 'should not return NaN' );
6666
}
6767
}
6868
b.toc();
69-
if ( isnan( v ) ) {
69+
if ( isnanf( v ) ) {
7070
b.fail( 'should not return NaN' );
7171
}
7272
b.pass( 'benchmark finished' );

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
},
4747
"devDependencies": {
4848
"@stdlib/array-float32": "^0.2.2",
49-
"@stdlib/math-base-assert-is-nan": "^0.2.2",
5049
"@stdlib/math-base-assert-is-nanf": "^0.2.2",
5150
"@stdlib/math-base-assert-is-positive-zerof": "^0.1.3",
5251
"@stdlib/math-base-special-pow": "^0.3.0",

0 commit comments

Comments
 (0)