Skip to content

Commit 26506aa

Browse files
committed
chore: clean-up
--- 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: missing_dependencies - 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 e1260f3 commit 26506aa

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/node_modules/@stdlib/blas/base/sger/src/sger.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ void API_SUFFIX(c_sger)( const CBLAS_LAYOUT layout, const CBLAS_INT M, const CBL
8080
return;
8181
}
8282
// Check whether we can avoid computation altogether...
83-
if ( M == 0 || N == 0 || alpha == 0.0 ) {
83+
if ( M == 0 || N == 0 || alpha == 0.0f ) {
8484
return;
8585
}
8686
ox = stdlib_strided_stride2offset( N, strideX );

lib/node_modules/@stdlib/blas/base/sger/src/sger_ndarray.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ void API_SUFFIX(c_sger_ndarray)( const CBLAS_INT M, const CBLAS_INT N, const flo
140140
return;
141141
}
142142
// Check whether we can avoid computation altogether...
143-
if ( M == 0 || N == 0 || alpha == 0.0 ) {
143+
if ( M == 0 || N == 0 || alpha == 0.0f ) {
144144
return;
145145
}
146146
// Extract loop variables for purposes of loop interchange: dimensions and loop offset (pointer) increments...
@@ -181,7 +181,7 @@ void API_SUFFIX(c_sger_ndarray)( const CBLAS_INT M, const CBLAS_INT N, const flo
181181
ia = offsetA;
182182
for ( i1 = 0; i1 < S1; i1++ ) {
183183
// Check whether we can avoid the inner loop entirely...
184-
if ( y[ iy ] == 0.0 ) {
184+
if ( y[ iy ] == 0.0f ) {
185185
ia += da0 * S0;
186186
} else {
187187
tmp = alpha * y[ iy ];

0 commit comments

Comments
 (0)