Fixed HDF5 read array
This commit is contained in:
parent
43d77feafe
commit
984aa5e209
@ -335,6 +335,7 @@ namespace CosmoTool {
|
|||||||
dataspace.selectHyperslab(H5S_SELECT_SET, memdims.data(), offsets.data());
|
dataspace.selectHyperslab(H5S_SELECT_SET, memdims.data(), offsets.data());
|
||||||
|
|
||||||
dataset.read(data.data(), datatype, memspace, dataspace);
|
dataset.read(data.data(), datatype, memspace, dataspace);
|
||||||
|
return;
|
||||||
} else {
|
} else {
|
||||||
hdf5_check_array(data, dimensions);
|
hdf5_check_array(data, dimensions);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user