Skip to content

Commit

Permalink
Update src/MAT_HDF5.jl
Browse files Browse the repository at this point in the history
Co-authored-by: jmert <[email protected]>
  • Loading branch information
grero and jmert authored Sep 3, 2020
1 parent 6ea7901 commit 0654a12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MAT_HDF5.jl
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ function read(obj::HDF5Dataset, ::Type{Array{Bool}})
end
# Use the low-level HDF5 API to put the data directly into a Bool array
tf = Array{Bool}(undef, size(obj))
HDF5.h5d_read(obj.id, HDF5.hdf5_type_id(UInt8), tf, obj.xfer.id)
HDF5.h5d_read(obj.id, HDF5.hdf5_type_id(UInt8), tf, convert(HDF5.Hid, obj.xfer))
return tf
end

Expand Down

0 comments on commit 0654a12

Please sign in to comment.