Skip to content

Commit c68ae05

Browse files
committed
fix ESLint issue
1 parent 7a7a8ce commit c68ae05

File tree

1 file changed

+5
-2
lines changed
  • lib/node_modules/@stdlib/stats/base/variancewd/lib

1 file changed

+5
-2
lines changed

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
'use strict';
2020

21+
2122
// MAIN //
2223

2324
/**
@@ -39,11 +40,11 @@
3940
* }
4041
*
4142
* var x = {
42-
* data: [ 2.0, 4.0, 6.0, 8.0 ],
43+
* data: [ 1.0, 2.0, 3.0, 4.0 ],
4344
* accessors: [ accessor ]
4445
* };
4546
* var v = variancewd( x.data.length, 1, x, 1, 0 );
46-
* // returns 10.0
47+
* // returns 6.666666666666667
4748
*/
4849
function variancewd( N, correction, x, strideX, offsetX ) {
4950
var delta2;
@@ -67,6 +68,7 @@ function variancewd( N, correction, x, strideX, offsetX ) {
6768

6869
// Cache reference to array data:
6970
xbuf = x.data;
71+
7072
// Cache a reference to the element accessor:
7173
get = x.accessors[ 0 ];
7274

@@ -87,4 +89,5 @@ function variancewd( N, correction, x, strideX, offsetX ) {
8789
}
8890

8991
// EXPORTS //
92+
9093
module.exports = variancewd;

0 commit comments

Comments
 (0)