Skip to content

Commit b2bb2e9

Browse files
committed
comment
1 parent 6a2cff5 commit b2bb2e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libcxx/include/__algorithm/radix_sort.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
// radix of the sorted numbers from low to high byte.
2020
// The algorithm uses a temporary buffer of size equal to size of the input range. Each `i`-th pass
2121
// of the algorithm sorts values by `i`-th radix and moves values to the temporary buffer (for each even `i`, counted
22-
// from zero), or moves them back to the initial range (for each odd `i`). It there is only one radix in sorted integers
23-
// (e.g. int8), than sorted values are placed to the buffer, and then moved back to the initial range.
22+
// from zero), or moves them back to the initial range (for each odd `i`). If there is only one radix in sorted integers
23+
// (e.g. int8), the sorted values are placed to the buffer, and then moved back to the initial range.
2424

2525
// The implementation also has several optimizations:
2626
// - the counters for the counting sort are calculated in one pass for all radices;

0 commit comments

Comments
 (0)