Skip to content

Commit 00da962

Browse files
authored
fixed a silly typo
1 parent 689d0ea commit 00da962

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • lib/node_modules/@stdlib/stats/incr/nanvariance/examples

lib/node_modules/@stdlib/stats/incr/nanvariance/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 ), ( s === null ) ? NaN : s.toFixed( 4 ) );
41+
console.log( '%d\t%d', v.toFixed( 4 ), ( s2 === null ) ? NaN : s2.toFixed( 4 ) );
4242
}
4343
console.log( '\nFinal variance: %d\n', accumulator() );

0 commit comments

Comments
 (0)