From 2514e0afdaaa875b378bf3761a43be6c841549fd Mon Sep 17 00:00:00 2001 From: Athan Reines Date: Fri, 1 Dec 2023 18:51:12 -0800 Subject: [PATCH] refactor: avoid unnecessary cast --- lib/node_modules/@stdlib/blas/base/dswap/src/addon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/blas/base/dswap/src/addon.c b/lib/node_modules/@stdlib/blas/base/dswap/src/addon.c index cd4e61ca04f..74ff2096cca 100644 --- a/lib/node_modules/@stdlib/blas/base/dswap/src/addon.c +++ b/lib/node_modules/@stdlib/blas/base/dswap/src/addon.c @@ -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; }