Skip to content

Commit 3b9e655

Browse files
committed
fix: remove redundant code in accessor array functions of blas/ext/base/*
--- 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 4bbd4bd commit 3b9e655

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

lib/node_modules/@stdlib/blas/ext/base/gsumkbn/lib/accessors.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,6 @@ function gsumkbn( N, x, strideX, offsetX ) {
6464
var c;
6565
var i;
6666

67-
if ( N <= 0 ) {
68-
return 0.0;
69-
}
70-
7167
// Cache reference to array data:
7268
xbuf = x.data;
7369

lib/node_modules/@stdlib/blas/ext/base/gsumpw/lib/accessors.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,6 @@ function gsumpw( N, x, strideX, offsetX ) {
7777
var s;
7878
var i;
7979

80-
if ( N <= 0 ) {
81-
return 0.0;
82-
}
83-
8480
// Cache reference to array data:
8581
xbuf = x.data;
8682

0 commit comments

Comments
 (0)