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 01d87da commit adce8acCopy full SHA for adce8ac
lib/node_modules/@stdlib/stats/incr/nanmsumabs2/examples/index.js
@@ -33,5 +33,5 @@ for ( i = 0; i < 100; i++ ) {
33
v = ( randu()*100.0 ) - 50.0;
34
}
35
sum = accumulator( v );
36
- console.log( '%s\t%d', v.toString(), sum.toFixed( 3 ) );
+ console.log( '%s\t%s', v.toString(), sum !== null ? sum.toFixed(3) : 'null' );
37
0 commit comments