From 99396f30e6483a1d7cbce3e8bd522e25745eccd0 Mon Sep 17 00:00:00 2001 From: headlessNode Date: Sun, 22 Sep 2024 18:25:05 +0500 Subject: [PATCH] fix: declare parameter as --- .../base/dapxsumors/include/stdlib/blas/ext/base/dapxsumors.h | 4 ++-- lib/node_modules/@stdlib/blas/ext/base/dapxsumors/src/main.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/node_modules/@stdlib/blas/ext/base/dapxsumors/include/stdlib/blas/ext/base/dapxsumors.h b/lib/node_modules/@stdlib/blas/ext/base/dapxsumors/include/stdlib/blas/ext/base/dapxsumors.h index 395c3a4545c..62f946d39d7 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dapxsumors/include/stdlib/blas/ext/base/dapxsumors.h +++ b/lib/node_modules/@stdlib/blas/ext/base/dapxsumors/include/stdlib/blas/ext/base/dapxsumors.h @@ -31,12 +31,12 @@ extern "C" { /** * Adds a scalar constant to each double-precision floating-point strided array element and computes the sum using ordinary recursive summation. */ -double API_SUFFIX(c_dapxsumors)( const CBLAS_INT N, const double alpha, double *X, const CBLAS_INT strideX ); +double API_SUFFIX(c_dapxsumors)( const CBLAS_INT N, const double alpha, const double *X, const CBLAS_INT strideX ); /** * Adds a scalar constant to each double-precision floating-point strided array element and computes the sum using ordinary recursive summation and alternative indexing semantics. */ -double API_SUFFIX(c_dapxsumors_ndarray)( const CBLAS_INT N, const double alpha, double *X, const CBLAS_INT strideX, const CBLAS_INT offsetX ); +double API_SUFFIX(c_dapxsumors_ndarray)( const CBLAS_INT N, const double alpha, const double *X, const CBLAS_INT strideX, const CBLAS_INT offsetX ); #ifdef __cplusplus } diff --git a/lib/node_modules/@stdlib/blas/ext/base/dapxsumors/src/main.c b/lib/node_modules/@stdlib/blas/ext/base/dapxsumors/src/main.c index 6bfcf899af5..fc37185c44b 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dapxsumors/src/main.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dapxsumors/src/main.c @@ -29,7 +29,7 @@ * @param strideX stride length * @return output value */ -double API_SUFFIX(c_dapxsumors)( const CBLAS_INT N, const double alpha, double *X, const CBLAS_INT strideX ) { +double API_SUFFIX(c_dapxsumors)( const CBLAS_INT N, const double alpha, const double *X, const CBLAS_INT strideX ) { CBLAS_INT ox = stdlib_strided_stride2offset( N, strideX ); return API_SUFFIX(c_dapxsumors_ndarray)( N, alpha, X, strideX, ox ); } @@ -43,7 +43,7 @@ double API_SUFFIX(c_dapxsumors)( const CBLAS_INT N, const double alpha, double * * @param strideX index increment * @param offsetX starting index */ -double API_SUFFIX(c_dapxsumors_ndarray)( const CBLAS_INT N, const double alpha, double *X, const CBLAS_INT strideX, const CBLAS_INT offsetX ) { +double API_SUFFIX(c_dapxsumors_ndarray)( const CBLAS_INT N, const double alpha, const double *X, const CBLAS_INT strideX, const CBLAS_INT offsetX ) { double sum; CBLAS_INT ix; CBLAS_INT i;