@@ -661,23 +661,23 @@ contains
661
661
${ti}$, intent(out), optional :: iwork(0:)
662
662
logical, intent(in), optional :: reverse
663
663
664
- integer(int_index) :: array_size, i
664
+ integer(int_index) :: array_size, i
665
665
666
- array_size = size(array, kind=int_index)
666
+ array_size = size(array, kind=int_index)
667
667
668
- if ( array_size > huge(index)) then
669
- error stop "Too many entries for the kind of index."
670
- end if
668
+ if ( array_size > huge(index)) then
669
+ error stop "Too many entries for the kind of index."
670
+ end if
671
671
672
- if ( array_size > size(index, kind=int_index) ) then
673
- error stop "Too many entries for the size of index."
674
- end if
672
+ if ( array_size > size(index, kind=int_index) ) then
673
+ error stop "Too many entries for the size of index."
674
+ end if
675
675
676
- do i = 0, array_size-1
677
- index(i) = int(i+1, kind=${ki}$)
678
- end do
676
+ do i = 0, array_size-1
677
+ index(i) = int(i+1, kind=${ki}$)
678
+ end do
679
679
680
- call sort_adj(array, index, work, iwork, reverse)
680
+ call sort_adj(array, index, work, iwork, reverse)
681
681
682
682
end subroutine ${name1}$_sort_index_${namei}$
683
683
0 commit comments