Skip to content

Commit cf3d888

Browse files
authored
docs: update example
Signed-off-by: Athan <[email protected]>
1 parent b984243 commit cf3d888

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/blas/ext/last-index-of

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,11 @@ var x = array( [ 1.0, 2.0, 3.0, 4.0, 2.0, 6.0 ] );
8989
// returns <ndarray>
9090

9191
// Perform operation:
92-
var out = lastIndexOf( x, 2.0, 5 );
92+
var out = lastIndexOf( x, 2.0, 3 );
9393
// returns <ndarray>
9494

9595
var idx = out.get();
96-
// returns 4
96+
// returns 2
9797
```
9898

9999
By default, the function performs the operation over elements in the last dimension. To perform the operation over a different dimension, provide a `dim` option.

0 commit comments

Comments
 (0)