Skip to content

Commit 648a384

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

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
@@ -217,7 +217,7 @@ 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) (in any
220+
While it is essential that that `indx` contains the integers `1:size(a)` (in any
221221
order), the code does not check for this.
222222

223223
Selection of a single value should have runtime of O(`size(a)`), so it is asymptotically faster
@@ -347,7 +347,7 @@ LOG(size(array)).
347347
end program
348348
```
349349

350-
The results seem consistent with expectations; the program prints:
350+
The results seem consistent with expectations when the array is large; the program prints:
351351
```
352352
select ; N= 1 ; PASS; Relative-speedup-vs-sort: 2.11456394
353353
arg_select; N= 1 ; PASS; Relative-speedup-vs-sort: 3.48637915

0 commit comments

Comments
 (0)