Skip to content

Commit a79bc32

Browse files
Update dmeanpw function to use 'x' instead of 'xptr'
Signed-off-by: JoyBoy <[email protected]>
1 parent 856f5cc commit a79bc32

File tree

1 file changed

+4
-4
lines changed
  • lib/node_modules/@stdlib/stats/strided/wasm/dmeanpw/lib

1 file changed

+4
-4
lines changed

lib/node_modules/@stdlib/stats/strided/wasm/dmeanpw/lib/module.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ inherits( Module, WasmModule );
138138
* var v = dmeanpw.main( N, xptr, 1 );
139139
* // returns 2.0
140140
*/
141-
setReadOnly( Module.prototype, 'main', function dmeanpw( N, xptr, strideX ) {
142-
return this._instance.exports.stdlib_strided_dmeanpw( N, xptr, strideX );
141+
setReadOnly( Module.prototype, 'main', function dmeanpw( N, x, strideX ) {
142+
return this._instance.exports.stdlib_strided_dmeanpw( N, x, strideX );
143143
});
144144

145145
/**
@@ -188,8 +188,8 @@ setReadOnly( Module.prototype, 'main', function dmeanpw( N, xptr, strideX ) {
188188
* var sum = dmeanpw.ndarray( N, xptr, 1, 0 );
189189
* // returns 2.0
190190
*/
191-
setReadOnly( Module.prototype, 'ndarray', function dmeanpw( N, xptr, strideX, offsetX ) {
192-
return this._instance.exports.stdlib_strided_dmeanpw_ndarray( N, xptr, strideX, offsetX ); // eslint-disable-line max-len
191+
setReadOnly( Module.prototype, 'ndarray', function dmeanpw( N, x, strideX, offsetX ) {
192+
return this._instance.exports.stdlib_strided_dmeanpw_ndarray( N, x, strideX, offsetX ); // eslint-disable-line max-len
193193
});
194194

195195

0 commit comments

Comments
 (0)