We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91b610b commit f66733bCopy full SHA for f66733b
lib/node_modules/@stdlib/stats/incr/nanmminmax/lib/main.js
@@ -57,11 +57,11 @@ var incrmminmax = require( '@stdlib/stats/incr/mminmax' );
57
* // returns [ -5.0, 5.0 ]
58
*/
59
function incrnanmminmax(out, window) {
60
- var minmax;
+ var mminmax;
61
if (arguments.length === 1) {
62
- minmax = incrmminmax( out );
+ mminmax = incrmminmax( out );
63
} else {
64
- minmax = incrmminmax( out, window );
+ mminmax = incrmminmax( out, window );
65
}
66
return accumulator;
67
@@ -74,9 +74,9 @@ function incrnanmminmax(out, window) {
74
75
function accumulator(x) {
76
if (arguments.length === 0 || isnan(x)) {
77
- return minmax();
+ return mminmax();
78
79
- return minmax(x);
+ return mminmax(x);
80
81
82
0 commit comments