From e01e9252e78eebf0b9216ea53f515c9428ea3860 Mon Sep 17 00:00:00 2001 From: Mark Kittisopikul Date: Sun, 24 Mar 2024 03:01:40 -0400 Subject: [PATCH 1/2] Fix use of HDF5._dataspace --- src/JLD.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/JLD.jl b/src/JLD.jl index 2025276..a695d26 100644 --- a/src/JLD.jl +++ b/src/JLD.jl @@ -761,7 +761,7 @@ function getindex(dset::JldDataset, indices::Union{AbstractRange{Int},Integer}.. sz = map(length, indices) dsel = HDF5.hyperslab(dset.plain, indices...) try - dspace = HDF5._dataspace(sz) + dspace = HDF5.dataspace(sz) try return read_array(dset, datatype(dset.plain), dspace.id, dsel.id, sz) finally @@ -791,7 +791,7 @@ function setindex!(dset::JldDataset, X::AbstractArray{T,N}, indices::Union{Abstr buf = h5convert_array(f, convert(Array{written_eltype,N}, X), jldtype, JldWriteSession()) - dspace = HDF5._dataspace(sz) + dspace = HDF5.dataspace(sz) try HDF5.API.h5d_write(dset.plain.id, dtype, dspace, dsel_id, HDF5.API.H5P_DEFAULT, buf) finally From e694b8c11b0d53751ab475ad120f5807ac7a64a6 Mon Sep 17 00:00:00 2001 From: Mark Kittisopikul Date: Sun, 24 Mar 2024 03:18:37 -0400 Subject: [PATCH 2/2] Bump version to 0.13.5 --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index f2748ef..9bacb88 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "JLD" uuid = "4138dd39-2aa7-5051-a626-17a0bb65d9c8" -version = "0.13.4" +version = "0.13.5" [deps] Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"