Skip to content

Commit 41be81c

Browse files
committed
fix: remove useless isRowMajor check
--- 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 9e097b9 commit 41be81c

File tree

1 file changed

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

1 file changed

+0
-17
lines changed

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

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@
2020

2121
'use strict';
2222

23-
// MODULES //
24-
25-
var isRowMajor = require( '@stdlib/ndarray/base/assert/is-row-major' );
26-
27-
2823
// FUNCTIONS //
2924

3025
/**
@@ -86,12 +81,6 @@ function transpose(N, nrhs, DL, sdl, odl, D, sd, od, DU, sdu, odu, DU2, sdu2, od
8681
idu = odu;
8782
idu2 = odu2;
8883

89-
if (!isRowMajor([sb1, sb2])) {
90-
temp = sb1;
91-
sb1 = sb2;
92-
sb2 = temp;
93-
}
94-
9584
if ( nrhs <= 1 ) {
9685
for ( j = 0; j < nrhs; j++) {
9786
B[ ib + (sb2*j) ] /= D[ id ];
@@ -189,12 +178,6 @@ function noTranspose( N, nrhs, DL, sdl, odl, D, sd, od, DU, sdu, odu, DU2, sdu2,
189178
idu = odu;
190179
idu2 = odu2;
191180

192-
if ( !isRowMajor( [ sb1, sb2 ] ) ) {
193-
temp = sb1;
194-
sb1 = sb2;
195-
sb2 = temp;
196-
}
197-
198181
if ( nrhs <= 1 ) {
199182
for ( j = 0; j < nrhs; j++ ) {
200183
for ( i = 0; i < N - 1; i++ ) {

0 commit comments

Comments
 (0)