Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Signed-off-by: Athan <[email protected]>
  • Loading branch information
kgryte authored Sep 19, 2024
1 parent a1c71e5 commit 3e32b85
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ void API_SUFFIX(c_drot)( const CBLAS_INT N, double *X, const CBLAS_INT strideX,
/**
* Applies a plane rotation using alternative indexing semantics.
*/
void API_SUFFIX(c_drot_ndarray)( const CBLAS_INT N, double *X, const CBLAS_INT strideX, CBLAS_INT offsetX, double *Y, const CBLAS_INT strideY, CBLAS_INT offsetY, const double c, const double s );
void API_SUFFIX(c_drot_ndarray)( const CBLAS_INT N, double *X, const CBLAS_INT strideX, const CBLAS_INT offsetX, double *Y, const CBLAS_INT strideY, const CBLAS_INT offsetY, const double c, const double s );

#ifdef __cplusplus
}
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/blas/base/drot/src/drot_cblas.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ void API_SUFFIX(c_drot)( const CBLAS_INT N, double *X, const CBLAS_INT strideX,
* @param c cosine of the angle of rotation
* @param s sine of the angle of rotation
*/
void API_SUFFIX(c_drot_ndarray)( const CBLAS_INT N, double *X, const CBLAS_INT strideX, CBLAS_INT offsetX, double *Y, const CBLAS_INT strideY, const CBLAS_INT offsetY, const double c, const double s ) {
void API_SUFFIX(c_drot_ndarray)( const CBLAS_INT N, double *X, const CBLAS_INT strideX, const CBLAS_INT offsetX, double *Y, const CBLAS_INT strideY, const CBLAS_INT offsetY, const double c, const double s ) {
X += stdlib_strided_min_view_buffer_index( N, strideX, offsetX ); // adjust array pointer
Y += stdlib_strided_min_view_buffer_index( N, strideY, offsetY ); // adjust array pointer
API_SUFFIX(cblas_drot)( N, alpha, X, strideX, Y, strideY );
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/blas/base/drot/src/drot_f.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ void API_SUFFIX(c_drot)( const CBLAS_INT N, double *X, const CBLAS_INT strideX,
* @param c cosine of the angle of rotation
* @param s sine of the angle of rotation
*/
void API_SUFFIX(c_drot_ndarray)( const CBLAS_INT N, double *X, const CBLAS_INT strideX, const CBLAS_INT offsetX, double *Y, const CBLAS_INT strideY, CBLAS_INT offsetY, const double c, const double s ) {
void API_SUFFIX(c_drot_ndarray)( const CBLAS_INT N, double *X, const CBLAS_INT strideX, const CBLAS_INT offsetX, double *Y, const CBLAS_INT strideY, const CBLAS_INT offsetY, const double c, const double s ) {
X += stdlib_strided_min_view_buffer_index( N, strideX, offsetX ); // adjust array pointer
Y += stdlib_strided_min_view_buffer_index( N, strideY, offsetY ); // adjust array pointer
drot( &N, X, &strideX, Y, &strideY, &c, &s );
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/blas/base/drot/src/drot_ndarray.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* @param c cosine of the angle of rotation
* @param s sine of the angle of rotation
*/
void API_SUFFIX(c_drot_ndarray)( const CBLAS_INT N, double *X, const CBLAS_INT strideX, const CBLAS_INT offsetX, double *Y, const CBLAS_INT strideY, CBLAS_INT offsetY, const double c, const double s ) {
void API_SUFFIX(c_drot_ndarray)( const CBLAS_INT N, double *X, const CBLAS_INT strideX, const CBLAS_INT offsetX, double *Y, const CBLAS_INT strideY, const CBLAS_INT offsetY, const double c, const double s ) {
double tmp;
CBLAS_INT ix;
CBLAS_INT iy;
Expand Down

0 comments on commit 3e32b85

Please sign in to comment.