Skip to content

Commit 9c8bedf

Browse files
committed
fixed variancewd.js ESLint issue
1 parent f027bac commit 9c8bedf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/stats/base/variancewd/lib/variancewd.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020

2121
// MODULES //
2222

23-
var isnan = require( '@stdlib/math/base/assert/is-nan' );
2423
var stride2offset = require( '@stdlib/strided/base/stride2offset' );
2524
var ndarray = require( './ndarray.js' );
2625

26+
2727
// MAIN //
2828

2929
/**
@@ -43,7 +43,7 @@ var ndarray = require( './ndarray.js' );
4343
* var N = x.length;
4444
*
4545
* var v = variancewd( N, 1, x, 1, mask, 1 );
46-
* // returns expected variance
46+
* // returns 4.333333333333333
4747
*/
4848
function variancewd( N, correction, x, strideX ) {
4949
return ndarray( N, correction, x, strideX, stride2offset( N, strideX ) );

0 commit comments

Comments
 (0)