Skip to content

Commit ec7f59a

Browse files
committed
chore: idk whats going on anymore
--- 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 6956d09 commit ec7f59a

File tree

2 files changed

+17
-16
lines changed

2 files changed

+17
-16
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ function dorm2r( order, side, trans, M, N, K, A, LDA, tau, C, LDC, work ) { // e
8181
var sa2;
8282
var sc1;
8383
var sc2;
84+
8485
if ( !isLayout( order ) ) {
8586
throw new TypeError( format( 'invalid argument. First argument must be a valid order. Value: `%s`.', order ) );
8687
}
@@ -92,13 +93,13 @@ function dorm2r( order, side, trans, M, N, K, A, LDA, tau, C, LDC, work ) { // e
9293
}
9394
if ( isColumnMajor( order ) ) {
9495
if ( side === 'left' && LDA < max( 1, M ) ) {
95-
throw new RangeError( format( 'invalid argument. Eighth argument must be greater than or equal to max(1,%d) when side is left. Value: `%d`.', M, LDA ) );
96+
throw new RangeError( format( 'invalid argument. Eighth argument must be greater than or equal to max(1,%d). Value: `%d`.', M, LDA ) );
9697
}
9798
if ( side === 'right' && LDA < max( 1, N ) ) {
98-
throw new RangeError( format( 'invalid argument. Eighth argument must be greater than or equal to max(1,%d) when side is right. Value: `%d`.', N, LDA ) );
99+
throw new RangeError( format( 'invalid argument. Eighth argument must be greater than or equal to max(1,%d). Value: `%d`.', N, LDA ) );
99100
}
100101
} else if ( LDA < max( 1, K ) ) {
101-
throw new RangeError( format( 'invalid argument. Eighth argument must be greater than or equal to max(1,%d) for row-major layout. Value: `%d`.', K, LDA ) );
102+
throw new RangeError( format( 'invalid argument. Eighth argument must be greater than or equal to max(1,%d). Value: `%d`.', K, LDA ) );
102103
}
103104
if ( isRowMajor( order ) && LDC < max( 1, N ) ) {
104105
throw new RangeError( format( 'invalid argument. Twelfth argument must be greater than or equal to max(1,%d). Value: `%d`.', N, LDC ) );

lib/node_modules/@stdlib/lapack/base/dorm2r/test/fixtures/left_trans_col_major.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,39 +7,39 @@
77
"K": 3,
88

99
"A_mat": [
10-
[ 1.0, 0.0, 0.0 ],
11-
[ 2.0, 4.0, 0.0 ],
12-
[ 3.0, 5.0, 6.0 ]
10+
[ 10.0, 200.0, 123.0 ],
11+
[ 20.0, 30.0, 200.0 ],
12+
[ 40.0, 50.0, 60.0 ]
1313
],
1414
"LDA": 3,
1515
"strideA1": 1,
1616
"strideA2": 3,
1717
"offsetA": 0,
18-
"A": [ 1.0, 2.0, 3.0, 0.0, 4.0, 5.0, 0.0, 0.0, 6.0 ],
18+
"A": [ 10.0, 20.0, 40.0, 200.0, 30.0, 50.0, 123.0, 200.0, 60.0 ],
1919

20-
"tau": [ 7.0, 8.0, 9.0 ],
20+
"tau": [ 2.0, 3.0, 4.0 ],
2121
"strideTau": 1,
2222
"offsetTau": 0,
2323

2424
"C_mat": [
25-
[ 1.0, 2.0, 3.0 ],
26-
[ 4.0, 5.0, 6.0 ],
27-
[ 7.0, 8.0, 9.0 ]
25+
[ 7.0, 9.0, 11.0 ],
26+
[ 12.0, 14.0, 16.0 ],
27+
[ 17.0, 19.0, 21.0 ]
2828
],
2929
"LDC": 3,
3030
"strideC1": 1,
3131
"strideC2": 3,
3232
"offsetC": 0,
33-
"C": [ 1.0, 4.0, 7.0, 2.0, 5.0, 8.0, 3.0, 6.0, 9.0 ],
33+
"C": [ 7.0, 12.0, 17.0, 9.0, 14.0, 19.0, 11.0, 16.0, 21.0 ],
3434

3535
"work": [ 0.0, 0.0, 0.0 ],
3636
"strideWork": 1,
3737
"offsetWork": 0,
3838

3939
"C_out_mat": [
40-
[ -209.0, -250.0, -291.0 ],
41-
[ 27832.0, 33413.0, 38994.0 ],
42-
[ -1124936.0, -1350496.0, -1576056.0 ]
40+
[ -1847.0, -2089.0, -2331.0 ],
41+
[ 11195586.0, 12669042.0, 14142498.0 ],
42+
[ -1684675671.0, -1906396497.0, -2128117323.0 ]
4343
],
44-
"C_out": [ -209.0, 27832.0, -1124936.0, -250.0, 33413.0, -1350496.0, -291.0, 38994.0, -1576056.0 ]
44+
"C_out": [ -1847.0, 11195586.0, -1684675671.0, -2089.0, 12669042.0, -1906396497.0, -2331.0, 14142498.0, -2128117323.0 ]
4545
}

0 commit comments

Comments
 (0)