Skip to content

Commit 28443ab

Browse files
refactor: update stats/base/dvarm to follow latest project conventions
1 parent 6610acd commit 28443ab

File tree

1 file changed

+5
-4
lines changed
  • lib/node_modules/@stdlib/stats/base/dvarm/src

1 file changed

+5
-4
lines changed

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,11 @@
3535
static napi_value addon( napi_env env, napi_callback_info info ) {
3636
STDLIB_NAPI_ARGV( env, info, argv, argc, 5 );
3737
STDLIB_NAPI_ARGV_INT64( env, N, argv, 0 );
38-
STDLIB_NAPI_ARGV_INT64( env, stride, argv, 3 );
39-
STDLIB_NAPI_ARGV_DOUBLE( env, correction, argv, 1 );
40-
STDLIB_NAPI_ARGV_STRIDED_FLOAT64ARRAY( env, X, N, stride, argv, 2 );
41-
STDLIB_NAPI_CREATE_DOUBLE( env, stdlib_strided_dvarm( N, correction, X, stride ), v );
38+
STDLIB_NAPI_ARGV_INT64( env, stride, argv, 4 );
39+
STDLIB_NAPI_ARGV_DOUBLE( env, mean, argv, 1 );
40+
STDLIB_NAPI_ARGV_DOUBLE( env, correction, argv, 2 );
41+
STDLIB_NAPI_ARGV_STRIDED_FLOAT64ARRAY( env, X, N, stride, argv, 3 );
42+
STDLIB_NAPI_CREATE_DOUBLE( env, stdlib_strided_dvarm( N, mean, correction, X, stride ), v );
4243
return v;
4344
}
4445

0 commit comments

Comments
 (0)