Skip to content

Commit 0b37b84

Browse files
committed
chore: fix error in example and docs
1 parent 36f95f3 commit 0b37b84

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ m = accumulator();
9292
## Examples
9393

9494
<!-- eslint no-undef: "error" -->
95-
9695
```javascript
9796
var uniform = require( '@stdlib/random/base/uniform' );
9897
var bernoulli = require( '@stdlib/random/base/bernoulli' );

lib/node_modules/@stdlib/stats/incr/nanmmaxabs/examples/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ var i;
3333
for ( i = 0; i < 100; i++ ) {
3434
v = ( bernoulli( 0.8 ) < 1 ) ? NaN : uniform( -100.0, 100.0 );
3535
m = accumulator( v );
36-
console.log( '%d\t%d', v.toFixed( 3 ), ( mu === null ) ? NaN : m.toFixed( 3 ) );
36+
console.log( '%d\t%d', v.toFixed( 3 ), ( m === null ) ? NaN : m.toFixed( 3 ) );
3737
}

0 commit comments

Comments
 (0)