@@ -661,23 +661,23 @@ contains
661661 ${ti}$, intent(out), optional :: iwork(0:)
662662 logical, intent(in), optional :: reverse
663663
664- integer(int_index) :: array_size, i
664+ integer(int_index) :: array_size, i
665665
666- array_size = size(array, kind=int_index)
666+ array_size = size(array, kind=int_index)
667667
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
671671
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
675675
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
679679
680- call sort_adj(array, index, work, iwork, reverse)
680+ call sort_adj(array, index, work, iwork, reverse)
681681
682682 end subroutine ${name1}$_sort_index_${namei}$
683683
0 commit comments