Skip to content

Commit

Permalink
refactor: avoid unnecessary cast
Browse files Browse the repository at this point in the history
  • Loading branch information
kgryte committed Dec 2, 2023
1 parent e14f9fe commit 2514e0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/blas/base/dswap/src/addon.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ static napi_value addon( napi_env env, napi_callback_info info ) {
STDLIB_NAPI_ARGV_INT64( env, strideY, argv, 4 );
STDLIB_NAPI_ARGV_STRIDED_FLOAT64ARRAY( env, X, N, strideX, argv, 1 );
STDLIB_NAPI_ARGV_STRIDED_FLOAT64ARRAY( env, Y, N, strideY, argv, 3 );
c_dswap( N, (double *)X, strideX, (double *)Y, strideY );
c_dswap( N, X, strideX, Y, strideY );
return NULL;
}

Expand Down

0 comments on commit 2514e0a

Please sign in to comment.