-
Notifications
You must be signed in to change notification settings - Fork 143
Open
Description
I have an HDF5 file. I open it as
h5 = h5open(h5file, "r")
and initialize r
as
r = zeros(Float32,18)
when i read!() fuction
read!((h5["x1v"])[:, 1], r)
i get following error.
ERROR: LoadError: MethodError: no method matching read!(::Vector{Float32}, ::Vector{Float32})
The function read!
exists, but no method is defined for this combination of argument types.
How to make it read so that to reduce allocations? I have posted this issue on Julia discourse https://discourse.julialang.org/t/read-not-working-for-hdf5-file/129722
Metadata
Metadata
Assignees
Labels
No labels