Skip to content

Commit f66733b

Browse files
committed
update main.js
1 parent 91b610b commit f66733b

File tree

1 file changed

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

1 file changed

+5
-5
lines changed

lib/node_modules/@stdlib/stats/incr/nanmminmax/lib/main.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ var incrmminmax = require( '@stdlib/stats/incr/mminmax' );
5757
* // returns [ -5.0, 5.0 ]
5858
*/
5959
function incrnanmminmax(out, window) {
60-
var minmax;
60+
var mminmax;
6161
if (arguments.length === 1) {
62-
minmax = incrmminmax( out );
62+
mminmax = incrmminmax( out );
6363
} else {
64-
minmax = incrmminmax( out, window );
64+
mminmax = incrmminmax( out, window );
6565
}
6666
return accumulator;
6767

@@ -74,9 +74,9 @@ function incrnanmminmax(out, window) {
7474
*/
7575
function accumulator(x) {
7676
if (arguments.length === 0 || isnan(x)) {
77-
return minmax();
77+
return mminmax();
7878
}
79-
return minmax(x);
79+
return mminmax(x);
8080
}
8181
}
8282

0 commit comments

Comments
 (0)