Skip to content

Commit b354470

Browse files
Vinit-Panditkgryte
andauthored
fix: adding suggested changes
Co-authored-by: Athan <[email protected]> Signed-off-by: Vinit Pandit <[email protected]>
1 parent b8a428c commit b354470

File tree

1 file changed

+1
-2
lines changed
  • lib/node_modules/@stdlib/stats/base/svariance/src

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,8 @@ static napi_value addon( napi_env env, napi_callback_info info ) {
3838
STDLIB_NAPI_ARGV_FLOAT( env, correction, argv, 1 );
3939
STDLIB_NAPI_ARGV_INT64( env, stride, argv, 3 );
4040
STDLIB_NAPI_ARGV_STRIDED_FLOAT32ARRAY( env, X, N, stride, argv, 2)
41-
STDLIB_NAPI_CREATE_DOUBLE( env, stdlib_strided_svariance( N, correction, X, stride ), v );
41+
STDLIB_NAPI_CREATE_DOUBLE( env, (double)stdlib_strided_svariance( N, correction, X, stride ), v );
4242
return v;
4343
}
4444

45-
4645
STDLIB_NAPI_MODULE_EXPORT_FCN( addon )

0 commit comments

Comments
 (0)