From 63816af1be124c0f38eaa27299bde6a795433c08 Mon Sep 17 00:00:00 2001 From: ShabiShett07 Date: Thu, 3 Apr 2025 23:03:27 +0530 Subject: [PATCH] fix: condition check in /blas/base/dsyr2 ndarray --- 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 --- --- lib/node_modules/@stdlib/blas/base/dsyr2/lib/ndarray.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2/lib/ndarray.js b/lib/node_modules/@stdlib/blas/base/dsyr2/lib/ndarray.js index 3f49f0f93ef7..72cbaa3bcb35 100644 --- a/lib/node_modules/@stdlib/blas/base/dsyr2/lib/ndarray.js +++ b/lib/node_modules/@stdlib/blas/base/dsyr2/lib/ndarray.js @@ -70,7 +70,7 @@ function dsyr2( uplo, N, alpha, x, strideX, offsetX, y, strideY, offsetY, A, str throw new RangeError( format( 'invalid argument. Fifth argument must be non-zero. Value: `%d`.', strideX ) ); } if ( strideY === 0 ) { - throw new RangeError( format( 'invalid argument. Eighth argument must be non-zero. Value: `%d`.', strideX ) ); + throw new RangeError( format( 'invalid argument. Eighth argument must be non-zero. Value: `%d`.', strideY ) ); } if ( N === 0 || alpha === 0.0 ) { return A;