Skip to content

Commit

Permalink
Merge pull request #141 from grero/idfix
Browse files Browse the repository at this point in the history
Pass id rather than object as the 5th argument to h5d_read
  • Loading branch information
musm authored Sep 4, 2020
2 parents 33123dc + 0654a12 commit 57b8483
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 @@ -632,7 +632,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)
HDF5.h5d_read(obj.id, HDF5.hdf5_type_id(UInt8), tf, convert(HDF5.Hid, obj.xfer))
return tf
end

Expand Down

2 comments on commit 57b8483

@musm
Copy link
Member Author

@musm musm commented on 57b8483 Sep 4, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/20813

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.8.1 -m "<description of version>" 57b8483fd256e1cbdd0098bb6b5d87570fdffe13
git push origin v0.8.1

Please sign in to comment.