Skip to content

Commit a26decd

Browse files
committed
Auto-generated commit
1 parent 0d209ec commit a26decd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

NOTICE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Copyright (c) 2016-2023 The Stdlib Authors.
1+
Copyright (c) 2016-2024 The Stdlib Authors.

benchmark/benchmark.float32.assign.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// MODULES //
2222

2323
var bench = require( '@stdlib/bench-harness' );
24-
var isnan = require( '@stdlib/math-base-assert-is-nan' );
24+
var isnanf = require( '@stdlib/math-base-assert-is-nanf' );
2525
var pow = require( '@stdlib/math-base-special-pow' );
2626
var zeros = require( '@stdlib/array-zeros' );
2727
var pkg = require( './../package.json' ).name;
@@ -56,12 +56,12 @@ function createBenchmark( len ) {
5656
b.tic();
5757
for ( i = 0; i < b.iterations; i++ ) {
5858
o = random.assign( 2.0, out );
59-
if ( isnan( o[ i%len ] ) ) {
59+
if ( isnanf( o[ i%len ] ) ) {
6060
b.fail( 'should not return NaN' );
6161
}
6262
}
6363
b.toc();
64-
if ( isnan( o[ i%len ] ) ) {
64+
if ( isnanf( o[ i%len ] ) ) {
6565
b.fail( 'should not return NaN' );
6666
}
6767
b.pass( 'benchmark finished' );

0 commit comments

Comments
 (0)