Skip to content

Commit d86bc9d

Browse files
committed
fix: lint
1 parent 02ef1d6 commit d86bc9d

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

lib/node_modules/@stdlib/stats/base/ndarray/stdev/docs/repl.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
> sh = [ xbuf.length ];
4949
> x = new {{alias:@stdlib/ndarray/ctor}}( dt, xbuf, sh, st, oo, ord );
5050
> {{alias}}( [ x, correction ] )
51-
~2.3381
51+
~2.5820
5252

5353
See Also
5454
--------

lib/node_modules/@stdlib/stats/base/ndarray/stdev/lib/main.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,13 @@ var strided = require( '@stdlib/stats/strided/stdev' ).ndarray;
5656
function stdev( arrays ) {
5757
var correction;
5858
var x;
59+
var N;
5960

6061
x = arrays[ 0 ];
6162
correction = ndarraylike2scalar( arrays[ 1 ] );
6263

63-
return strided( numelDimension( x, 0 ), correction, getData( x ), getStride( x, 0 ), getOffset( x ) );
64+
N = numelDimension( x, 0 );
65+
return strided( N, correction, getData( x ), getStride( x, 0 ), getOffset( x ) );
6466
}
6567

6668

lib/node_modules/@stdlib/stats/base/ndarray/stdev/test/test.js

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

19-
/* eslint-disable max-len */
20-
2119
'use strict';
2220

2321
// MODULES //
@@ -228,4 +226,3 @@ tape( 'the function supports one-dimensional ndarrays having non-zero offsets',
228226

229227
t.end();
230228
});
231-

0 commit comments

Comments
 (0)