|
1 | 1 | #:include "common.fypp"
|
2 |
| -#:set IR_KINDS_TYPES = INT_KINDS_TYPES + REAL_KINDS_TYPES |
| 2 | +#:set IR_KINDS_TYPES = INT_KINDS_TYPES + REAL_KINDS_TYPES + STRING_KINDS_TYPES |
3 | 3 |
|
4 | 4 | !! Licensing:
|
5 | 5 | !!
|
@@ -434,7 +434,7 @@ module stdlib_sorting
|
434 | 434 | !! non-decreasing sort, but if the optional argument `REVERSE` is present
|
435 | 435 | !! with a value of `.TRUE.` the indices correspond to a non-increasing sort.
|
436 | 436 |
|
437 |
| -#:for k1, t1 in IR_KINDS_TYPES |
| 437 | +#:for k1, t1 in IRS_KINDS_TYPES |
438 | 438 | module subroutine ${k1}$_sort_index( array, index, work, iwork, &
|
439 | 439 | reverse )
|
440 | 440 | !! Version: experimental
|
@@ -467,21 +467,6 @@ module stdlib_sorting
|
467 | 467 | logical, intent(in), optional :: reverse
|
468 | 468 | end subroutine char_sort_index
|
469 | 469 |
|
470 |
| - module subroutine string_sort_index( array, index, work, iwork, & |
471 |
| - reverse ) |
472 |
| -!! Version: experimental |
473 |
| -!! |
474 |
| -!! `string_sort_index( array )` sorts an input `ARRAY` of type `STRING_TYPE` |
475 |
| -!! using a hybrid sort based on the `'Rust" sort` algorithm found in `slice.rs` |
476 |
| -!! and returns the sorted `ARRAY` and an array `INDEX of indices in the |
477 |
| -!! order that would sort the input `ARRAY` in the desired direction. |
478 |
| - type(string_type), intent(inout) :: array(0:) |
479 |
| - integer(int_size), intent(inout) :: index(0:) |
480 |
| - type(string_type), intent(inout), optional :: work(0:) |
481 |
| - integer(int_size), intent(inout), optional :: iwork(0:) |
482 |
| - logical, intent(in), optional :: reverse |
483 |
| - end subroutine string_sort_index |
484 |
| - |
485 | 470 | end interface sort_index
|
486 | 471 |
|
487 | 472 |
|
|
0 commit comments