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 689d0ea commit 00da962Copy full SHA for 00da962
1 file changed
lib/node_modules/@stdlib/stats/incr/nanvariance/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 ), ( s === null ) ? NaN : s.toFixed( 4 ) );
+ console.log( '%d\t%d', v.toFixed( 4 ), ( s2 === null ) ? NaN : s2.toFixed( 4 ) );
42
43
console.log( '\nFinal variance: %d\n', accumulator() );
0 commit comments