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 c252f63 commit ff5b210Copy full SHA for ff5b210
lib/node_modules/@stdlib/stats/incr/nanme/README.md
@@ -118,13 +118,13 @@ accumulator = incrnanme();
118
119
// For each simulated datum, update the mean error...
120
for ( i = 0; i < 100; i++ ) {
121
- if( randu() < 0.2 ){
122
- v1 = NaN;
+ if ( randu() < 0.2 ) {
+ v1 = NaN;
123
v2 = NaN;
124
- } else {
125
- v1 = ( randu()*100.0 ) - 50.0;
+ } else {
+ v1 = ( randu()*100.0 ) - 50.0;
126
v2 = ( randu()*100.0 ) - 50.0;
127
- }
+ }
128
}
129
console.log( accumulator() );
130
```
0 commit comments