Skip to content

Commit 2f98c26

Browse files
committed
refactor: remove unreachable path
--- 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: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 18f7a74 commit 2f98c26

File tree

1 file changed

+0
-3
lines changed
  • lib/node_modules/@stdlib/stats/strided/mskmaxabs/lib

1 file changed

+0
-3
lines changed

lib/node_modules/@stdlib/stats/strided/mskmaxabs/lib/accessors.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,6 @@ function mskmaxabs( N, x, strideX, offsetX, mask, strideMask, offsetMask ) {
7373
xget = x.accessors[ 0 ];
7474
mget = mask.accessors[ 0 ];
7575

76-
if ( N <= 0 ) {
77-
return NaN;
78-
}
7976
ix = offsetX;
8077
im = offsetMask;
8178
for ( i = 0; i < N; i++ ) {

0 commit comments

Comments
 (0)