Skip to content

Commit 56807f9

Browse files
committed
chore: update spacing
--- 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 866bded commit 56807f9

File tree

1 file changed

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

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ function transpose( N, nrhs, DL, sdl, odl, D, sd, od, DU, sdu, odu, DU2, sdu2, o
8484

8585
if ( nrhs <= 1 ) {
8686
for ( j = 0; j < nrhs; j++) {
87-
B[ ib + (sb2*j) ] /= D[ id ];
87+
B[ ib + (sb2*j) ] = B[ ib + (sb2*j) ] / D[ id ];
8888
if ( N > 1 ) {
89-
B[ ib + sb1 + (sb2*j) ] = ( B[ ib + (sb1*1) + (sb2*j) ] - ( DU[ idu ] * B[ ib + (sb2*j) ] ) ) / D[ id + sd ];
89+
B[ ib + sb1 + (sb2*j) ] = ( B[ ib + sb1 + (sb2*j) ] - ( DU[ idu ] * B[ ib + (sb2*j) ] ) ) / D[ id + sd ];
9090
}
9191
for ( i = 2; i < N; i++ ) {
9292
B[ ib + (sb1*i) + (sb2*j) ] = ( B[ ib + (sb1*i) + (sb2*j) ] - ( DU[ idu + (sdu*(i-1)) ] * B[ ib + (sb1*(i-1)) + (sb2*j) ] ) - ( DU2[ idu2 + (sdu2*(i-2)) ] * B[ ib + (sb1*(i-2)) + (sb2*j) ] ) ) / D[ id + (sd*i) ];
@@ -273,7 +273,7 @@ function base( itrans, N, nrhs, DL, sdl, odl, D, sd, od, DU, sdu, odu, DU2, sdu2
273273
if ( N === 0 || nrhs === 0 ) {
274274
return B;
275275
}
276-
if (itrans === 0) {
276+
if ( itrans === 0 ) {
277277
// Solve A * X = B using the LU factorization of A, overwriting B with the solution
278278
return noTranspose( N, nrhs, DL, sdl, odl, D, sd, od, DU, sdu, odu, DU2, sdu2, odu2, IPIV, si, oi, B, sb1, sb2, ob );
279279
}

0 commit comments

Comments
 (0)