Skip to content

Commit 55f7bca

Browse files
committed
Auto-generated commit
1 parent 55695e8 commit 55f7bca

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed

.github/.keepalive

Lines changed: 0 additions & 1 deletion
This file was deleted.

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2025-01-06)
7+
## Unreleased (2025-01-08)
88

99
<section class="features">
1010

@@ -16,12 +16,23 @@
1616

1717
<!-- /.features -->
1818

19+
<section class="bug-fixes">
20+
21+
### Bug Fixes
22+
23+
- [`7e63aad`](https://github.com/stdlib-js/stdlib/commit/7e63aad8c0b42330b0933973bddea8d1c5e84862) - wrap function calls in `API_SUFFIX` in native addons [(#4646)](https://github.com/stdlib-js/stdlib/pull/4646)
24+
25+
</section>
26+
27+
<!-- /.bug-fixes -->
28+
1929
<section class="commits">
2030

2131
### Commits
2232

2333
<details>
2434

35+
- [`7e63aad`](https://github.com/stdlib-js/stdlib/commit/7e63aad8c0b42330b0933973bddea8d1c5e84862) - **fix:** wrap function calls in `API_SUFFIX` in native addons [(#4646)](https://github.com/stdlib-js/stdlib/pull/4646) _(by Aayush Khanna)_
2536
- [`b046648`](https://github.com/stdlib-js/stdlib/commit/b046648de50ab6f4d3af98645313df1a067cd5ff) - **chore:** remove unused header in `stats/base/dnanmeanwd` [(#4497)](https://github.com/stdlib-js/stdlib/pull/4497) _(by Aayush Khanna)_
2637
- [`29f0cf3`](https://github.com/stdlib-js/stdlib/commit/29f0cf37d8c59629455eead33c36630c2f323750) - **test:** fix arguments _(by Athan Reines)_
2738
- [`43b8310`](https://github.com/stdlib-js/stdlib/commit/43b83109c3ead4e4fd66cf41e7608b36cbd08871) - **docs:** fix examples _(by Athan Reines)_

src/addon.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
*/
1818

1919
#include "stdlib/stats/base/dnanmeanwd.h"
20+
#include "stdlib/blas/base/shared.h"
2021
#include "stdlib/napi/export.h"
2122
#include "stdlib/napi/argv.h"
2223
#include "stdlib/napi/argv_int64.h"
@@ -35,7 +36,7 @@ static napi_value addon( napi_env env, napi_callback_info info ) {
3536
STDLIB_NAPI_ARGV_INT64( env, N, argv, 0 );
3637
STDLIB_NAPI_ARGV_INT64( env, strideX, argv, 2 );
3738
STDLIB_NAPI_ARGV_STRIDED_FLOAT64ARRAY( env, X, N, strideX, argv, 1 );
38-
STDLIB_NAPI_CREATE_DOUBLE( env, stdlib_strided_dnanmeanwd( N, X, strideX ), v );
39+
STDLIB_NAPI_CREATE_DOUBLE( env, API_SUFFIX(stdlib_strided_dnanmeanwd)( N, X, strideX ), v );
3940
return v;
4041
}
4142

@@ -52,7 +53,7 @@ static napi_value addon_method( napi_env env, napi_callback_info info ) {
5253
STDLIB_NAPI_ARGV_INT64( env, strideX, argv, 2 );
5354
STDLIB_NAPI_ARGV_INT64( env, offsetX, argv, 3 );
5455
STDLIB_NAPI_ARGV_STRIDED_FLOAT64ARRAY( env, X, N, strideX, argv, 1 );
55-
STDLIB_NAPI_CREATE_DOUBLE( env, stdlib_strided_dnanmeanwd_ndarray( N, X, strideX, offsetX ), v );
56+
STDLIB_NAPI_CREATE_DOUBLE( env, API_SUFFIX(stdlib_strided_dnanmeanwd_ndarray)( N, X, strideX, offsetX ), v );
5657
return v;
5758
}
5859

0 commit comments

Comments
 (0)