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 995aced commit da1f273Copy full SHA for da1f273
src/nf/nf_io_hdf5_submodule.f90
@@ -39,7 +39,7 @@ module function get_h5_attribute_string( &
39
! Close the file
40
call h5fclose_f(fid, hdferr)
41
42
- res = string(:index(string, c_null_char))
+ res = string(:index(string, c_null_char) - 1)
43
44
end function get_h5_attribute_string
45
0 commit comments