Skip to content

Commit 130766c

Browse files
committed
chore: remove redundant code
--- 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 b8653d7 commit 130766c

File tree

8 files changed

+4
-40
lines changed

8 files changed

+4
-40
lines changed

lib/node_modules/@stdlib/lapack/base/dlarfb/lib/left_backward_columns.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,6 @@ function leftBackwardColumns( M, N, K, V, strideV1, strideV2, offsetV, T, stride
8585
var j;
8686
var o;
8787

88-
// Quick return if possible
89-
if ( M <= 0 || N <= 0 ) {
90-
return C;
91-
}
92-
9388
if ( trans === 'no-transpose' ) {
9489
transt = 'transpose';
9590
} else {

lib/node_modules/@stdlib/lapack/base/dlarfb/lib/left_backward_rows.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,6 @@ function leftBackwardRows( M, N, K, V, strideV1, strideV2, offsetV, T, strideT1,
8686
var j;
8787
var o;
8888

89-
// Quick return if possible
90-
if ( M <= 0 || N <= 0 ) {
91-
return C;
92-
}
93-
9489
if ( trans === 'no-transpose' ) {
9590
transt = 'transpose';
9691
} else {
@@ -100,6 +95,7 @@ function leftBackwardRows( M, N, K, V, strideV1, strideV2, offsetV, T, strideT1,
10095
/* Let V = ( V1 V2 ) (V2: last K columns)
10196
* Where V2 is unit lower triangular.
10297
*/
98+
10399
/* Form H * C or H^T * C where C = ( C1 )
104100
* ( C2 )
105101
* W := C**T * V**T = (C1**T * V1**T + C2**T * V2**T) (stored in WORK)

lib/node_modules/@stdlib/lapack/base/dlarfb/lib/left_forward_columns.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,6 @@ function leftForwardColumns( M, N, K, V, strideV1, strideV2, offsetV, T, strideT
8686
var j;
8787
var o;
8888

89-
// Quick return if possible
90-
if ( M <= 0 || N <= 0 ) {
91-
return C;
92-
}
93-
9489
if ( trans === 'no-transpose' ) {
9590
transt = 'transpose';
9691
} else {

lib/node_modules/@stdlib/lapack/base/dlarfb/lib/left_forward_rows.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,6 @@ function leftForwardRows( M, N, K, V, strideV1, strideV2, offsetV, T, strideT1,
8686
var j;
8787
var o;
8888

89-
// Quick return if possible
90-
if ( M <= 0 || N <= 0 ) {
91-
return C;
92-
}
93-
9489
if ( trans === 'no-transpose' ) {
9590
transt = 'transpose';
9691
} else {
@@ -100,6 +95,7 @@ function leftForwardRows( M, N, K, V, strideV1, strideV2, offsetV, T, strideT1,
10095
/* Let V = ( V1 V2 ) (V1: first K columns)
10196
* Where V1 is unit upper triangular.
10297
*/
98+
10399
/* Form H * C or H^T * C where C = ( C1 )
104100
* ( C2 )
105101
* W := C**T * V**T = (C1**T * V1**T + C2**T * V2**T) (stored in work)

lib/node_modules/@stdlib/lapack/base/dlarfb/lib/right_backward_columns.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,6 @@ function rightBackwardColumns( M, N, K, V, strideV1, strideV2, offsetV, T, strid
8585
var j;
8686
var o;
8787

88-
// Quick return if possible
89-
if ( M <= 0 || N <= 0 ) {
90-
return C;
91-
}
92-
9388
/* Let V = ( V1 )
9489
* ( V2 ) (last K rows)
9590
* Where V2 is unit upper triangular.

lib/node_modules/@stdlib/lapack/base/dlarfb/lib/right_backward_rows.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,10 @@ function rightBackwardRows( M, N, K, V, strideV1, strideV2, offsetV, T, strideT1
8585
var j;
8686
var o;
8787

88-
// Quick return if possible
89-
if ( M <= 0 || N <= 0 ) {
90-
return C;
91-
}
92-
9388
/* Let V = ( V1 V2 ) (V2: last K columns)
9489
* Where V2 is unit lower triangular.
9590
*/
91+
9692
/* Form C * H or C * H^T where C = ( C1 C2 )
9793
* W := C * V**T = (C1*V1**T + C2*V2**T) (stored in WORK)
9894
* W := C2

lib/node_modules/@stdlib/lapack/base/dlarfb/lib/right_forward_columns.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,6 @@ function rightForwardColumns( M, N, K, V, strideV1, strideV2, offsetV, T, stride
8585
var j;
8686
var o;
8787

88-
// Quick return if possible
89-
if ( M <= 0 || N <= 0 ) {
90-
return C;
91-
}
92-
9388
/* Let V = ( V1 ) (first K rows)
9489
* ( V2 )
9590
* Where V1 is unit lower triangular.

lib/node_modules/@stdlib/lapack/base/dlarfb/lib/right_forward_rows.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,10 @@ function rightForwardRows( M, N, K, V, strideV1, strideV2, offsetV, T, strideT1,
8585
var j;
8686
var o;
8787

88-
// Quick return if possible
89-
if ( M <= 0 || N <= 0 ) {
90-
return C;
91-
}
92-
9388
/* Let V = ( V1 V2 ) (V1: first K columns)
9489
* Where V1 is unit upper triangular.
9590
*/
91+
9692
/* Form C * H or C * H^T where C = ( C1 C2 )
9793
* W := C * V**T = (C1*V1**T + C2*V2**T) (stored in WORK)
9894
* W := C1

0 commit comments

Comments
 (0)