We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bc295a commit 75121cfCopy full SHA for 75121cf
src/stdlib_io_np_save.fypp
@@ -212,6 +212,7 @@ contains
212
logical :: is_compressed
213
character(len=:), allocatable :: msg
214
type(string_type), allocatable :: files(:)
215
+ type(string_type) :: new_string
216
217
if (present(iostat)) iostat = 0
218
stat = 0
@@ -246,7 +247,8 @@ contains
246
247
return
248
end if
249
- files = [files, string_type(typed_array%name)]
250
+ new_string = string_type(typed_array%name)
251
+ files = [files, new_string]
252
#:endfor
253
254
class default
0 commit comments