From e5bbfb7df02f25bc3d459589a8d58533a1b95b66 Mon Sep 17 00:00:00 2001 From: Ricky Reusser <572717+rreusser@users.noreply.github.com> Date: Tue, 14 Jan 2025 11:34:08 -0800 Subject: [PATCH] fix: remove ad-hoc early return --- 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/zdscal/lib/zdscal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/blas/base/zdscal/lib/zdscal.js b/lib/node_modules/@stdlib/blas/base/zdscal/lib/zdscal.js index 2809a210aa3..05d47b4c334 100644 --- a/lib/node_modules/@stdlib/blas/base/zdscal/lib/zdscal.js +++ b/lib/node_modules/@stdlib/blas/base/zdscal/lib/zdscal.js @@ -59,7 +59,7 @@ function zdscal( N, da, zx, strideX ) { var ix; var i; - if ( N <= 0 || strideX <= 0 || da === 1.0 ) { + if ( N <= 0 || strideX <= 0 ) { return zx; }