Skip to content

Commit 44f2627

Browse files
committed
Not use generic
1 parent f1e199f commit 44f2627

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/stdlib_array.fypp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ module stdlib_array
2020
contains
2121
#:for k1, t1 in KINDS_TYPES
2222
#:for rank in RANKS
23-
generic :: allocate_array => allocate_array_${t1[0]}$${k1}$_${rank}$
2423
procedure :: allocate_array_${t1[0]}$${k1}$_${rank}$
2524
#:endfor
2625
#:endfor

src/stdlib_io_np_load.fypp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ contains
180180
& 'with total size of '//to_string(product(vshape)); return
181181
end if
182182

183-
call arrays(i)%allocate_array(array, stat, msg)
183+
call arrays(i)%allocate_array_${t1[0]}$${k1}$_${rank}$(array, stat, msg)
184184
if (stat /= 0) then
185185
msg = "Failed to allocate array of type '"//this_type//"' "//&
186186
& 'with total size of '//to_string(product(vshape)); return

0 commit comments

Comments
 (0)