Skip to content

Commit c458860

Browse files
committed
refactor: use smaller dtype
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: passed - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 398570f commit c458860

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/node_modules/@stdlib/blas/base/dgemv/src/dgemv_ndarray.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include "stdlib/blas/base/dscal.h"
2323
#include "stdlib/blas/ext/base/dfill.h"
2424
#include "stdlib/ndarray/base/assert/is_row_major.h"
25+
#include <stdbool.h>
2526

2627
/**
2728
* Performs one of the matrix-vector operations `Y = α*A*X + β*Y` or `Y = α*A^T*X + β*Y`, using alternative indexing semantics and where `α` and `β` are scalars, `X` and `Y` are vectors, and `A` is an `M` by `N` matrix.
@@ -44,7 +45,6 @@
4445
*/
4546
void API_SUFFIX(c_dgemv_ndarray)( const CBLAS_TRANSPOSE trans, const CBLAS_INT M, const CBLAS_INT N, const double alpha, const double *A, const CBLAS_INT strideA1, const CBLAS_INT strideA2, const CBLAS_INT offsetA, const double *X, const CBLAS_INT strideX, const CBLAS_INT offsetX, const double beta, double *Y, const CBLAS_INT strideY, const CBLAS_INT offsetY ) {
4647
int64_t sa[ 2 ];
47-
CBLAS_INT isrm;
4848
CBLAS_INT xlen;
4949
CBLAS_INT ylen;
5050
CBLAS_INT da0;
@@ -55,6 +55,7 @@ void API_SUFFIX(c_dgemv_ndarray)( const CBLAS_TRANSPOSE trans, const CBLAS_INT M
5555
CBLAS_INT i0;
5656
CBLAS_INT i1;
5757
double tmp;
58+
bool isrm;
5859

5960
// Note on variable naming convention: da#, i# where # corresponds to the loop number, with `0` being the innermost loop...
6061

0 commit comments

Comments
 (0)