Skip to content

Commit 2e6e724

Browse files
Update lib/node_modules/@stdlib/stats/base/dnanmeanpw/lib/ndarray.js
Co-authored-by: Muhammad Haris <[email protected]> Signed-off-by: Aayush Khanna <[email protected]>
1 parent a2f5a64 commit 2e6e724

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/stats/base/dnanmeanpw/lib

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/stats/base/dnanmeanpw/lib/ndarray.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ var Float64Array = require( '@stdlib/array/float64' );
4646
function dnanmeanpw( N, x, strideX, offsetX ) {
4747
var out = new Float64Array( 2 );
4848
dnannsumpw( N, x, strideX, offsetX, out, 1, 0 );
49-
return out[0] / out[1];
49+
return out[ 0 ] / out[ 1 ];
5050
}
5151

5252

0 commit comments

Comments
 (0)