Skip to content

Commit b750a72

Browse files
committed
fix: c implementation
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: missing_dependencies - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent bc77c43 commit b750a72

File tree

3 files changed

+17
-10
lines changed

3 files changed

+17
-10
lines changed

lib/node_modules/@stdlib/stats/base/sdsnanmean/include/stdlib/stats/base/sdsnanmean.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ extern "C" {
3434
float API_SUFFIX(stdlib_strided_sdsnanmean)( const CBLAS_INT N, const float *X, const CBLAS_INT strideX );
3535

3636
/**
37-
* Computes the arithmetic mean of a single-precision floating-point strided array, ignoring `NaN` values and using extended accumulation and alternative indexing semantics.
37+
* Computes the arithmetic mean of a single-precision floating-point strided array, ignoring `NaN` values and using extended accumulation and using alternative indexing semantics.
3838
*/
3939
float API_SUFFIX(stdlib_strided_sdsnanmean_ndarray)( const CBLAS_INT N, const float *X, const CBLAS_INT strideX, const CBLAS_INT offsetX );
4040

lib/node_modules/@stdlib/stats/base/sdsnanmean/manifest.json

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"options": {
3-
"task": "build"
3+
"task": "build",
4+
"wasm": false
45
},
56
"fields": [
67
{
@@ -27,6 +28,7 @@
2728
"confs": [
2829
{
2930
"task": "build",
31+
"wasm": false,
3032
"src": [
3133
"./src/main.c"
3234
],
@@ -36,18 +38,20 @@
3638
"libraries": [],
3739
"libpath": [],
3840
"dependencies": [
39-
"@stdlib/stats/base/sdsnanmeanors",
4041
"@stdlib/blas/base/shared",
41-
"@stdlib/strided/base/stride2offset",
42+
"@stdlib/stats/strided/stride2offset",
43+
"@stdlib/stats/base/sdsnanmeanors",
4244
"@stdlib/napi/export",
4345
"@stdlib/napi/argv",
4446
"@stdlib/napi/argv-int64",
47+
"@stdlib/napi/argv-float",
4548
"@stdlib/napi/argv-strided-float32array",
4649
"@stdlib/napi/create-double"
4750
]
4851
},
4952
{
5053
"task": "benchmark",
54+
"wasm": false,
5155
"src": [
5256
"./src/main.c"
5357
],
@@ -57,13 +61,14 @@
5761
"libraries": [],
5862
"libpath": [],
5963
"dependencies": [
60-
"@stdlib/stats/base/sdsnanmeanors",
6164
"@stdlib/blas/base/shared",
62-
"@stdlib/strided/base/stride2offset"
65+
"@stdlib/stats/strided/stride2offset",
66+
"@stdlib/stats/base/sdsnanmeanors"
6367
]
6468
},
6569
{
6670
"task": "examples",
71+
"wasm": false,
6772
"src": [
6873
"./src/main.c"
6974
],
@@ -73,13 +78,14 @@
7378
"libraries": [],
7479
"libpath": [],
7580
"dependencies": [
76-
"@stdlib/stats/base/sdsnanmeanors",
7781
"@stdlib/blas/base/shared",
78-
"@stdlib/strided/base/stride2offset"
82+
"@stdlib/stats/strided/stride2offset",
83+
"@stdlib/stats/base/sdsnanmeanors"
7984
]
8085
},
8186
{
8287
"task": "",
88+
"wasm": true,
8389
"src": [
8490
"./src/main.c"
8591
],
@@ -89,9 +95,9 @@
8995
"libraries": [],
9096
"libpath": [],
9197
"dependencies": [
92-
"@stdlib/stats/base/sdsnanmeanors",
9398
"@stdlib/blas/base/shared",
94-
"@stdlib/strided/base/stride2offset"
99+
"@stdlib/stats/strided/stride2offset",
100+
"@stdlib/stats/base/sdsnanmeanors"
95101
]
96102
}
97103
]

lib/node_modules/@stdlib/stats/base/sdsnanmean/src/main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#include "stdlib/stats/base/sdsnanmean.h"
2020
#include "stdlib/blas/base/shared.h"
2121
#include "stdlib/strided/base/stride2offset.h"
22+
#include "stdlib/stats/base/sdsnanmeanors.h"
2223

2324
/**
2425
* Computes the arithmetic mean of a single-precision floating-point strided array, ignoring `NaN` values and using extended accumulation.

0 commit comments

Comments
 (0)