Skip to content

Commit 17860b4

Browse files
authored
chore: update isnanf to isnan
Signed-off-by: Shabareesh Shetty <[email protected]>
1 parent 6c2745e commit 17860b4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/node_modules/@stdlib/blas/base/dgbmv/benchmark/benchmark.ndarray.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' );
2424
var uniform = require( '@stdlib/random/array/uniform' );
25-
var isnanf = require( '@stdlib/math/base/assert/is-nanf' );
25+
var isnan = require( '@stdlib/math/base/assert/is-nan' );
2626
var pow = require( '@stdlib/math/base/special/pow' );
2727
var floor = require( '@stdlib/math/base/special/floor' );
2828
var pkg = require( './../package.json' ).name;
@@ -72,12 +72,12 @@ function createBenchmark( N ) {
7272
b.tic();
7373
for ( i = 0; i < b.iterations; i++ ) {
7474
z = dgbmv( 'no-transpose', N, N, 1.0, 1, 1, A, N, 1, 0, x, 1, 0, 1.0, y, 1, 0 );
75-
if ( isnanf( z[ i%z.length ] ) ) {
75+
if ( isnan( z[ i%z.length ] ) ) {
7676
b.fail( 'should not return NaN' );
7777
}
7878
}
7979
b.toc();
80-
if ( isnanf( z[ i%z.length ] ) ) {
80+
if ( isnan( z[ i%z.length ] ) ) {
8181
b.fail( 'should not return NaN' );
8282
}
8383
b.pass( 'benchmark finished' );

0 commit comments

Comments
 (0)