@@ -272,7 +272,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">stats/
272272< span class ="cline-any cline-neutral "> </ span > </ td > < td class ="text "> < pre class ="prettyprint lang-js "> /**
273273* @license Apache-2.0
274274*
275- * Copyright (c) 2025 The Stdlib Authors.
275+ * Copyright (c) 2025 The Stdlib Authors
276276*
277277* Licensed under the Apache License, Version 2.0 (the "License");
278278* you may not use this file except in compliance with the License.
@@ -300,8 +300,8 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">stats/
300300*
301301* @param {PositiveInteger} N - number of indexed elements
302302* @param {Collection} x - input array/collection
303- * @param {integer} stride - index increment
304- * @param {NonNegativeInteger} offset - starting index
303+ * @param {integer} strideX - index increment
304+ * @param {NonNegativeInteger} offsetX - starting index
305305* @param {Callback} clbk - callback
306306* @param {*} [thisArg] - execution context
307307* @returns {number} range
@@ -334,38 +334,38 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">stats/
334334< span class ="cstat-no " title ="statement not covered " > return NaN;</ span >
335335< span class ="cstat-no " title ="statement not covered " > }</ span >
336336 if ( N === 1 || strideX === 0 ) {
337- v = clbk.call( thisArg, get( xbuf, 0 ), 0, 0, x );
338- if ( v === void 0 || isnan( v ) ) {
339- return NaN;
340- }
341- return 0.0;
337+ v = clbk.call( thisArg, get( xbuf, 0 ), 0, 0, x );
338+ if ( v === void 0 || isnan( v ) ) {
339+ return NaN;
340+ }
341+ return 0.0;
342342 }
343343 ix = offsetX;
344344 for ( i = 0; i < N; i++ ) {
345- min = clbk.call( thisArg, get( xbuf, ix ), i, ix, x );
346- if ( min === min && min !== void 0 ) {
347- break;
348- }
349- ix += strideX;
345+ min = clbk.call( thisArg, get( xbuf, ix ), i, ix, x );
346+ if ( min === min && min !== void 0 ) {
347+ break;
348+ }
349+ ix += strideX;
350350 }
351- if ( i === N ) {
352- return NaN;
351+ if ( i === N ) {
352+ return NaN;
353353 }
354354 max = min;
355355 i += 1;
356- for ( i; i < N; i++ ) {
357- ix += strideX;
358- v = clbk.call( thisArg, get( xbuf, ix ), i, ix, x );
359- if ( v === void 0 || isnan( v ) ) {
360- continue;
361- }
362- if ( v < min ) {
363- min = v;
364- } else if ( v > max ) {
365- max = v;
366- }
367- }
368- return max - min;
356+ for ( i; i < N; i++ ) {
357+ ix += strideX;
358+ v = clbk.call( thisArg, get( xbuf, ix ), i, ix, x );
359+ if ( v === void 0 || isnan( v ) ) {
360+ continue;
361+ }
362+ if ( v < min ) {
363+ min = v;
364+ } else if ( v > max ) {
365+ max = v;
366+ }
367+ }
368+ return max - min;
369369}
370370
371371
@@ -379,7 +379,7 @@ <h1><a href="../../../../index.html">All files</a> / <a href="index.html">stats/
379379 < div class ='footer quiet pad2 space-top1 center small '>
380380 Code coverage generated by
381381 < a href ="https://istanbul.js.org/ " target ="_blank " rel ="noopener noreferrer "> istanbul</ a >
382- at 2025-03-30T15:29:30.708Z
382+ at 2025-03-30T15:36:27.224Z
383383 </ div >
384384 < script src ="../../../../prettify.js "> </ script >
385385 < script >
0 commit comments