Skip to content

Commit added57

Browse files
authored
Apply suggestions from code review
Signed-off-by: Athan <kgryte@gmail.com>
1 parent ab750b2 commit added57

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • lib/node_modules/@stdlib/stats/base/ndarray/sstdevch/benchmark

lib/node_modules/@stdlib/stats/base/ndarray/sstdevch/benchmark/benchmark.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,12 @@ function createBenchmark( len ) {
6666
for ( i = 0; i < b.iterations; i++ ) {
6767
v = sstdevch( [ x, correction ] );
6868
if ( isnanf( v ) ) {
69-
b.fail( 'should not return nanf' );
69+
b.fail( 'should not return NaN' );
7070
}
7171
}
7272
b.toc();
7373
if ( isnanf( v ) ) {
74-
b.fail( 'should not return nanf' );
74+
b.fail( 'should not return NaN' );
7575
}
7676
b.pass( 'benchmark finished' );
7777
b.end();

0 commit comments

Comments
 (0)