Skip to content

Commit 4678691

Browse files
committed
style: add stride output for blas/base/dgemv
--- 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 a2ab0a6 commit 4678691

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/blas/base/dgemv/lib

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/blas/base/dgemv/lib/ndarray.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ function dgemv( trans, M, N, alpha, A, strideA1, strideA2, offsetA, x, strideX,
7373
throw new RangeError( format( 'invalid argument. Third argument must be a nonnegative integer. Value: `%d`.', N ) );
7474
}
7575
if ( strideX === 0 ) {
76-
throw new RangeError( format( 'invalid argument. Tenth argument must be non-zero.' ) );
76+
throw new RangeError( format( 'invalid argument. Tenth argument must be non-zero.', strideX ) );
7777
}
7878
if ( strideY === 0 ) {
79-
throw new RangeError( format( 'invalid argument. Fourteenth argument must be non-zero.' ) );
79+
throw new RangeError( format( 'invalid argument. Fourteenth argument must be non-zero.', strideY ) );
8080
}
8181
// Check if we can early return...
8282
if ( M === 0 || N === 0 || ( alpha === 0.0 && beta === 1.0 ) ) {

0 commit comments

Comments
 (0)