Skip to content

Commit 103b9e9

Browse files
garethgareth
authored andcommitted
fix doc
1 parent f029976 commit 103b9e9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/specs/stdlib_selection.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,8 @@ where we need to search.
217217

218218
`arg_select` does not modify `a`, unlike `select`.
219219

220-
While it is essential that that `indx` contains the integers 1:size(a), the code does not check for this.
220+
While it is essential that that `indx` contains the integers 1:size(a) (in any
221+
order), the code does not check for this.
221222

222223
Selection of a single value should have runtime of O(`size(a)`), so it is asymptotically faster
223224
than sorting `a` entirely.

0 commit comments

Comments
 (0)