Skip to content

Commit f029976

Browse files
garethgareth
authored andcommitted
fix doc
1 parent 1128444 commit f029976

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/specs/stdlib_selection.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,13 +204,13 @@ and on return it contains the index of the k-th smallest entry of `a(:)`.
204204
`left` (optional): shall be a scalar with the same type as `k`. It is an `intent(in)`
205205
argument. If specified then we assume the k-th smallest value is definitely contained
206206
in `a(indx(left:size(a)))`. If not present it is 1. This is typically useful if multiple calls
207-
to `select` are made, because the partial sorting of `a` implies constraints on where
207+
to `arg_select` are made, because the partial sorting of `indx` implies constraints on where
208208
we need to search.
209209

210210
`right` (optional): shall be a scalar with the same type as `k`. It is an `intent(in)`
211211
argument. If specified then we assume the k-th smallest value is definitely contained
212212
in `a(indx(1:right))`. If not present it is `size(a)`. This is typically useful if multiple calls
213-
to `select` are made, because the reordering of `indx` implies constraints on
213+
to `arg_select` are made, because the reordering of `indx` implies constraints on
214214
where we need to search.
215215

216216
##### Notes

0 commit comments

Comments
 (0)