Skip to content

Commit 8e82964

Browse files
committed
solving eslint issue in index.js
1 parent 71f2ef7 commit 8e82964

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/stats/incr/nanmvariance/examples

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/stats/incr/nanmvariance/examples/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ for ( i = 0; i < 100; i++ ) {
3838
v = randu() * 100.0;
3939
}
4040
s2 = accumulator( v );
41-
console.log( '%d\t%d', v.toFixed( 4 ), (s2 === null ? 'null' : s2.toFixed( 4 )) );
41+
console.log( '%d\t%s', v.toFixed( 4 ), s2 !== null ? s2.toFixed( 4 ) : 'null' );
4242
}
4343
console.log( '\nFinal variance: %d\n', accumulator() );

0 commit comments

Comments
 (0)