Skip to content

Commit 8cca484

Browse files
fix: resolving conflic
2 parents dd030be + aed85ce commit 8cca484

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

lib/node_modules/@stdlib/stats/incr/nanminmaxabs/benchmark/benchmark.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19+
1920
"use strict";
2021

2122
// MODULES //

lib/node_modules/@stdlib/stats/incr/nanminmaxabs/lib/index.js

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,10 @@
1919

2020
'use strict';
2121

22-
// MODULES //
23-
24-
var main = require( './main.js' );
25-
26-
27-
// EXPORTS //
28-
2922
/**
3023
* Compute minimum and maximum absolute values incrementally, ignoring NaN values.
24+
/**
25+
* Compute minimum and maximum absolute values incrementally, **ignoring NaN values**.
3126
*
3227
* @module @stdlib/stats/incr/nanminmaxabs
3328
*
@@ -57,4 +52,13 @@ var main = require( './main.js' );
5752
* mm = accumulator();
5853
* // returns [ 2.0, 5.0 ]
5954
*/
55+
56+
// MODULES //
57+
58+
var main = require( './main.js' );
59+
60+
61+
// EXPORTS //
62+
6063
module.exports = main;
64+

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,11 @@ var isArrayLike = require("@stdlib/assert/is-array-like");
5050
* // returns [ 2.0, 5.0 ]
5151
*/
5252
function incrnanminmaxabs(out) {
53-
// Throw error if out is provided but not array-like (e.g., undefined, null, false)
5453
if (arguments.length > 0 && !isArrayLike(out)) {
5554
throw new TypeError(
5655
"invalid argument. Output argument must be an array-like object."
5756
);
5857
}
59-
// Use provided out if valid, otherwise default to empty array
6058
var accumulator = incrminmaxabs(out || []);
6159
var hasValues = false;
6260

0 commit comments

Comments
 (0)