Skip to content

Commit

Permalink
fix: remove unnecessary cast
Browse files Browse the repository at this point in the history
  • Loading branch information
kgryte committed Dec 2, 2023
1 parent 54b4641 commit 401111d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/blas/base/ddot/src/addon.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ static napi_value addon( napi_env env, napi_callback_info info ) {
STDLIB_NAPI_ARGV_STRIDED_FLOAT64ARRAY( env, Y, N, strideY, argv, 3 );

napi_value v;
napi_status status = napi_create_double( env, c_ddot( N, (double *)X, strideX, (double *)Y, strideY ), &v );
napi_status status = napi_create_double( env, c_ddot( N, X, strideX, Y, strideY ), &v );
assert( status == napi_ok );

return v;
Expand Down

0 comments on commit 401111d

Please sign in to comment.