Skip to content

Commit 1e61003

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 2f98c26 commit 1e61003

File tree

1 file changed

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

1 file changed

+0
-3
lines changed

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

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

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

0 commit comments

Comments
 (0)