Skip to content

Commit

Permalink
fix: declare parameter as
Browse files Browse the repository at this point in the history
  • Loading branch information
headlessNode committed Sep 22, 2024
1 parent 34a2caa commit 99396f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/blas/ext/base/dapxsumors/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
}
Expand All @@ -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;
Expand Down

0 comments on commit 99396f3

Please sign in to comment.