Skip to content

Commit ec083f1

Browse files
committed
docs: fix return values
--- 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: passed - task: lint_package_json status: na - task: lint_repl_help status: passed - task: lint_javascript_src status: na - 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 9975e88 commit ec083f1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/node_modules/@stdlib/blas/ext/base/gfind-last-index/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ var idx = gfindLastIndex( x.length, x, 1, isEven, ctx );
9191
// returns 3
9292

9393
var count = ctx.count;
94-
// returns 4
94+
// returns 2
9595
```
9696

9797
The `N` and stride parameters determine which elements in the strided array are accessed at runtime. For example, to test every other element:

lib/node_modules/@stdlib/blas/ext/base/gfind-last-index/docs/repl.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
// Using view offsets:
5858
> var x0 = new {{alias:@stdlib/array/float64}}( [ 1.0, 3.0, -4.0, 5.0, -6.0 ] );
5959
> var x1 = new {{alias:@stdlib/array/float64}}( x0.buffer, x0.BYTES_PER_ELEMENT*1 );
60-
> {{alias}}( 3, x1, 1, isEven )
60+
> {{alias}}( 4, x1, 1, isEven )
6161
3
6262

6363

@@ -99,8 +99,8 @@
9999
// Standard Usage:
100100
> function isEven( v ) { return v % 2.0 === 0.0; };
101101
> var x = [ 1.0, 2.0, -3.0, 4.0, -5.0, -6.0 ];
102-
> {{alias}}.ndarray( x.length, x, 1, 2, isEven )
103-
5
102+
> {{alias}}.ndarray( 4, x, 1, 2, isEven )
103+
3
104104

105105
See Also
106106
--------

0 commit comments

Comments
 (0)