Skip to content

Commit 620386c

Browse files
authored
docs: update README.md
Signed-off-by: Anshu Kumar <[email protected]>
1 parent d6ca374 commit 620386c

File tree

1 file changed

+1
-2
lines changed
  • lib/node_modules/@stdlib/stats/incr/nanmeanabs

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,10 @@ var incrnanmeanabs = require( '@stdlib/stats/incr/nanmeanabs' );
111111
var accumulator = incrnanmeanabs();
112112

113113
// For each simulated datum, update the mean...
114-
var v;
115114
var i;
116115

117116
for ( i = 0; i < 100; i++ ) {
118-
accumulator( ( bernoulli( 0.8 ) < 1 ) ? NaN : uniform( 0.0, 100.0 ) );
117+
accumulator( ( bernoulli( 0.8 ) < 1 ) ? NaN : uniform( -100.0, 100.0 ) );
119118
}
120119
console.log( accumulator() );
121120
```

0 commit comments

Comments
 (0)