Skip to content

Commit ff5b210

Browse files
committed
style: fix code formatting in README example
1 parent c252f63 commit ff5b210

File tree

1 file changed

+5
-5
lines changed
  • lib/node_modules/@stdlib/stats/incr/nanme

1 file changed

+5
-5
lines changed

lib/node_modules/@stdlib/stats/incr/nanme/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,13 +118,13 @@ accumulator = incrnanme();
118118

119119
// For each simulated datum, update the mean error...
120120
for ( i = 0; i < 100; i++ ) {
121-
if( randu() < 0.2 ){
122-
v1 = NaN;
121+
if ( randu() < 0.2 ) {
122+
v1 = NaN;
123123
v2 = NaN;
124-
} else {
125-
v1 = ( randu()*100.0 ) - 50.0;
124+
} else {
125+
v1 = ( randu()*100.0 ) - 50.0;
126126
v2 = ( randu()*100.0 ) - 50.0;
127-
}
127+
}
128128
}
129129
console.log( accumulator() );
130130
```

0 commit comments

Comments
 (0)