File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
lib/node_modules/@stdlib/stats/base/ndarray/snanmax/benchmark Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ var bench = require( '@stdlib/bench' );
2424var uniform = require ( '@stdlib/random/base/uniform' ) ;
2525var bernoulli = require ( '@stdlib/random/base/bernoulli' ) ;
2626var filledarrayBy = require ( '@stdlib/array/filled-by' ) ;
27- var isnan = require ( '@stdlib/math/base/assert/is-nan ' ) ;
27+ var isnanf = require ( '@stdlib/math/base/assert/is-nanf ' ) ;
2828var pow = require ( '@stdlib/math/base/special/pow' ) ;
2929var ndarray = require ( '@stdlib/ndarray/base/ctor' ) ;
3030var pkg = require ( './../package.json' ) . name ;
@@ -69,12 +69,12 @@ function createBenchmark( len ) {
6969 b . tic ( ) ;
7070 for ( i = 0 ; i < b . iterations ; i ++ ) {
7171 v = snanmax ( [ x ] ) ;
72- if ( isnan ( v ) ) {
72+ if ( isnanf ( v ) ) {
7373 b . fail ( 'should not return NaN' ) ;
7474 }
7575 }
7676 b . toc ( ) ;
77- if ( isnan ( v ) ) {
77+ if ( isnanf ( v ) ) {
7878 b . fail ( 'should not return NaN' ) ;
7979 }
8080 b . pass ( 'benchmark finished' ) ;
You can’t perform that action at this time.
0 commit comments