We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71f2ef7 commit 8e82964Copy full SHA for 8e82964
lib/node_modules/@stdlib/stats/incr/nanmvariance/examples/index.js
@@ -38,6 +38,6 @@ for ( i = 0; i < 100; i++ ) {
38
v = randu() * 100.0;
39
}
40
s2 = accumulator( v );
41
- console.log( '%d\t%d', v.toFixed( 4 ), (s2 === null ? 'null' : s2.toFixed( 4 )) );
+ console.log( '%d\t%s', v.toFixed( 4 ), s2 !== null ? s2.toFixed( 4 ) : 'null' );
42
43
console.log( '\nFinal variance: %d\n', accumulator() );
0 commit comments