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 8e82964 commit 7456b01Copy full SHA for 7456b01
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%s', v.toFixed( 4 ), s2 !== null ? s2.toFixed( 4 ) : 'null' );
+ console.log('%s\t%s', v.toString(), (s2 === null) ? 'null' : s2.toFixed(4));
42
43
console.log( '\nFinal variance: %d\n', accumulator() );
0 commit comments