Skip to content

Commit 2e8ed5c

Browse files
committed
refactor: cleanup
--- 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: passed - 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: na - 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 9883b18 commit 2e8ed5c

File tree

1 file changed

+3
-3
lines changed
  • lib/node_modules/@stdlib/lapack/base/dlange/lib

1 file changed

+3
-3
lines changed

lib/node_modules/@stdlib/lapack/base/dlange/lib/base.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,10 @@ function dlange( norm, M, N, A, strideA1, strideA2, offsetA, work, strideWork, o
110110
}
111111

112112
else if ( norm === 'one' ) {
113-
value = 0;
113+
value = 0.0;
114114
ia1 = offsetA;
115115
for ( j = 0; j < N; j++ ) {
116-
sum = 0;
116+
sum = 0.0;
117117
ia2 = 0;
118118
for ( i = 0; i < M; i++ ) {
119119
sum += abs( A[ ia1 + ia2 ] );
@@ -159,7 +159,7 @@ function dlange( norm, M, N, A, strideA1, strideA2, offsetA, work, strideWork, o
159159
}
160160
}
161161

162-
value = 0;
162+
value = 0.0;
163163

164164
iw = offsetWork;
165165
for ( i = 0; i < M; i++ ) {

0 commit comments

Comments
 (0)