Skip to content

Commit cdfa62c

Browse files
authored
Update src/stdlib_sorting_sort_index.fypp
1 parent 5514f48 commit cdfa62c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stdlib_sorting_sort_index.fypp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ contains
106106
${t2}$, allocatable :: buf(:)
107107
${ti}$, allocatable :: ibuf(:)
108108

109-
if ( size(array, kind=int_index) > huge(1_int_index) ) then
109+
if ( size(array, kind=int_index) > huge(1_${ki}$) then
110110
error stop "Too many entries for the kind of index."
111111
end if
112112

0 commit comments

Comments
 (0)