Skip to content

Commit 48995d6

Browse files
committed
Fix variable name
1 parent fe7f9a8 commit 48995d6

File tree

1 file changed

+3
-3
lines changed
  • lib/node_modules/@stdlib/stats/incr/mmax/examples

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var randu = require( '@stdlib/random/base/randu' );
2222
var incrmmax = require( './../lib' );
2323

2424
var accumulator;
25-
var mu;
25+
var m;
2626
var v;
2727
var i;
2828

@@ -33,6 +33,6 @@ accumulator = incrmmax( 5 );
3333
console.log( '\nValue\tMax\n' );
3434
for ( i = 0; i < 100; i++ ) {
3535
v = randu() * 100.0;
36-
mu = accumulator( v );
37-
console.log( '%d\t%d', v.toFixed( 4 ), mu.toFixed( 4 ) );
36+
m = accumulator( v );
37+
console.log( '%d\t%d', v.toFixed( 4 ), m.toFixed( 4 ) );
3838
}

0 commit comments

Comments
 (0)