From 984aa5e209b7907997ecaae7341056c508ac6b73 Mon Sep 17 00:00:00 2001 From: Guilhem Lavaux Date: Thu, 25 Feb 2016 10:41:28 +0100 Subject: [PATCH] Fixed HDF5 read array --- src/hdf5_array.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hdf5_array.hpp b/src/hdf5_array.hpp index c164f4e..8f1bfbd 100644 --- a/src/hdf5_array.hpp +++ b/src/hdf5_array.hpp @@ -335,6 +335,7 @@ namespace CosmoTool { dataspace.selectHyperslab(H5S_SELECT_SET, memdims.data(), offsets.data()); dataset.read(data.data(), datatype, memspace, dataspace); + return; } else { hdf5_check_array(data, dimensions); }