Skip to content

Commit 45d1c4e

Browse files
committed
chore: clean-up
--- 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: na - 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: missing_dependencies - 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 a40d428 commit 45d1c4e

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

lib/node_modules/@stdlib/blas/base/dtrmv/src/dtrmv.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
/**
2424
* Performs one of the matrix-vector operations `x = A*x` or `x = A^T*x`, where `x` is an `N` element vector and `A` is an `N` by `N` unit, or non-unit, upper or lower triangular matrix.
2525
*
26-
* @param order storage layout
26+
* @param layout storage layout
2727
* @param uplo specifies whether `A` is an upper or lower triangular matrix
2828
* @param trans specifies whether `A` should be transposed, conjugate-transposed, or not transposed
2929
* @param diag specifies whether `A` has a unit diagonal
@@ -34,7 +34,7 @@
3434
* @param strideX `x` stride length
3535
* @return output value
3636
*/
37-
void API_SUFFIX(c_dtrmv)( const CBLAS_LAYOUT order, const CBLAS_UPLO uplo, const CBLAS_TRANSPOSE trans, const CBLAS_DIAG diag, const CBLAS_INT N, const double *A, const CBLAS_INT LDA, double *x, const CBLAS_INT strideX ) {
37+
void API_SUFFIX(c_dtrmv)( const CBLAS_LAYOUT layout, const CBLAS_UPLO uplo, const CBLAS_TRANSPOSE trans, const CBLAS_DIAG diag, const CBLAS_INT N, const double *A, const CBLAS_INT LDA, double *x, const CBLAS_INT strideX ) {
3838
CBLAS_INT vala;
3939
CBLAS_INT sa1;
4040
CBLAS_INT sa2;
@@ -79,10 +79,10 @@ void API_SUFFIX(c_dtrmv)( const CBLAS_LAYOUT order, const CBLAS_UPLO uplo, const
7979
if ( N == 0 ) {
8080
return;
8181
}
82-
if ( order == CblasColMajor ) {
82+
if ( layout == CblasColMajor ) {
8383
sa1 = 1;
8484
sa2 = LDA;
85-
} else { // order === 'row-major'
85+
} else { // layout === CblasRowMajor
8686
sa1 = LDA;
8787
sa2 = 1;
8888
}

lib/node_modules/@stdlib/blas/base/dtrmv/src/dtrmv_ndarray.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,31 +56,31 @@ void API_SUFFIX(c_dtrmv_ndarray)( const CBLAS_UPLO uplo, const CBLAS_TRANSPOSE t
5656

5757
// Perform input argument validation...
5858
if ( uplo != CblasLower && uplo != CblasUpper ) {
59-
c_xerbla( 1, "c_dtrsv_ndarray", "Error: invalid argument. First argument must specify whether the lower or upper triangular matrix is supplied. Value: `%d`.", uplo );
59+
c_xerbla( 1, "c_dtrmv_ndarray", "Error: invalid argument. First argument must specify whether the lower or upper triangular matrix is supplied. Value: `%d`.", uplo );
6060
return;
6161
}
6262
if ( trans != CblasTrans && trans != CblasConjTrans && trans != CblasNoTrans ) {
63-
c_xerbla( 2, "c_dtrsv_ndarray", "Error: invalid argument. Second argument must be a valid transpose operation. Value: `%d`.", trans );
63+
c_xerbla( 2, "c_dtrmv_ndarray", "Error: invalid argument. Second argument must be a valid transpose operation. Value: `%d`.", trans );
6464
return;
6565
}
6666
if ( diag != CblasNonUnit && diag != CblasUnit ) {
67-
c_xerbla( 3, "c_dtrsv_ndarray", "Error: invalid argument. Third argument must be a valid diagonal type. Value: `%d`.", diag );
67+
c_xerbla( 3, "c_dtrmv_ndarray", "Error: invalid argument. Third argument must be a valid diagonal type. Value: `%d`.", diag );
6868
return;
6969
}
7070
if ( N < 0 ) {
71-
c_xerbla( 4, "c_dtrsv_ndarray", "Error: invalid argument. Fourth argument must be a nonnegative integer. Value: `%d`.", N );
71+
c_xerbla( 4, "c_dtrmv_ndarray", "Error: invalid argument. Fourth argument must be a nonnegative integer. Value: `%d`.", N );
7272
return;
7373
}
7474
if ( strideA1 == 0 ) {
75-
c_xerbla( 6, "c_dtrsv_ndarray", "Error: invalid argument. Sixth argument must be a nonzero. Value: `%d`.", strideA1 );
75+
c_xerbla( 6, "c_dtrmv_ndarray", "Error: invalid argument. Sixth argument must be a nonzero. Value: `%d`.", strideA1 );
7676
return;
7777
}
7878
if ( strideA2 == 0 ) {
79-
c_xerbla( 7, "c_dtrsv_ndarray", "Error: invalid argument. Seventh argument must be a nonzero. Value: `%d`.", strideA2 );
79+
c_xerbla( 7, "c_dtrmv_ndarray", "Error: invalid argument. Seventh argument must be a nonzero. Value: `%d`.", strideA2 );
8080
return;
8181
}
8282
if ( strideX == 0 ) {
83-
c_xerbla( 10, "c_dtrsv_ndarray", "Error: invalid argument. Tenth argument must be a nonzero. Value: `%d`.", strideX );
83+
c_xerbla( 10, "c_dtrmv_ndarray", "Error: invalid argument. Tenth argument must be a nonzero. Value: `%d`.", strideX );
8484
return;
8585
}
8686
// Check whether we can avoid computation altogether...

0 commit comments

Comments
 (0)