Skip to content

Commit cee348a

Browse files
chore: minor clean up
1 parent d4e3a94 commit cee348a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

lib/node_modules/@stdlib/stats/base/dsnanmeanwd/src/addon.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ static napi_value addon( napi_env env, napi_callback_info info ) {
3636
STDLIB_NAPI_ARGV_INT64( env, N, argv, 0 );
3737
STDLIB_NAPI_ARGV_INT64( env, strideX, argv, 2 );
3838
STDLIB_NAPI_ARGV_STRIDED_FLOAT32ARRAY( env, X, N, strideX, argv, 1 );
39-
STDLIB_NAPI_CREATE_DOUBLE( env, stdlib_strided_dsnanmean( N, X, strideX ), v );
39+
STDLIB_NAPI_CREATE_DOUBLE( env, stdlib_strided_dsnanmeanwd( N, X, strideX ), v );
4040
return v;
4141
}
4242

@@ -53,7 +53,7 @@ static napi_value addon_method( napi_env env, napi_callback_info info ) {
5353
STDLIB_NAPI_ARGV_INT64( env, strideX, argv, 2 );
5454
STDLIB_NAPI_ARGV_INT64( env, offsetX, argv, 3 );
5555
STDLIB_NAPI_ARGV_STRIDED_FLOAT32ARRAY( env, X, N, strideX, argv, 1 );
56-
STDLIB_NAPI_CREATE_DOUBLE( env, stdlib_strided_dsnanmean_ndarray( N, X, strideX, offsetX ), v );
56+
STDLIB_NAPI_CREATE_DOUBLE( env, stdlib_strided_dsnanmeanwd_ndarray( N, X, strideX, offsetX ), v );
5757
return v;
5858
}
5959

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@
4646
* @param strideX stride length
4747
* @return output value
4848
*/
49-
double API_SUFFIX(stdlib_strided_dsnanmean)( const CBLAS_INT N, const float *X, const CBLAS_INT strideX ) {
49+
double API_SUFFIX(stdlib_strided_dsnanmeanwd)( const CBLAS_INT N, const float *X, const CBLAS_INT strideX ) {
5050
const CBLAS_INT ox = stdlib_strided_stride2offset( N, strideX );
51-
return API_SUFFIX(stdlib_strided_dsnanmean_ndarray)( N, X, strideX, ox );
51+
return API_SUFFIX(stdlib_strided_dsnanmeanwd_ndarray)( N, X, strideX, ox );
5252
}
5353

5454
/**
@@ -60,7 +60,7 @@ double API_SUFFIX(stdlib_strided_dsnanmean)( const CBLAS_INT N, const float *X,
6060
* @param offsetX starting index for X
6161
* @return output value
6262
*/
63-
double API_SUFFIX(stdlib_strided_dsnanmean_ndarray)( const CBLAS_INT N, const float *X, const CBLAS_INT strideX, const CBLAS_INT offsetX ) {
63+
double API_SUFFIX(stdlib_strided_dsnanmeanwd_ndarray)( const CBLAS_INT N, const float *X, const CBLAS_INT strideX, const CBLAS_INT offsetX ) {
6464
CBLAS_INT ix;
6565
CBLAS_INT i;
6666
CBLAS_INT n;

0 commit comments

Comments
 (0)