Skip to content

Commit

Permalink
fix: remove ad-hoc early return
Browse files Browse the repository at this point in the history
---
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
---
  • Loading branch information
rreusser committed Jan 14, 2025
1 parent 2dc43d8 commit e5bbfb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/blas/base/zdscal/lib/zdscal.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit e5bbfb7

Please sign in to comment.