Loading include/dca/io/hdf5/hdf5_reader.hpp +2 −1 Original line number Diff line number Diff line Loading @@ -159,7 +159,8 @@ bool HDF5Reader::execute(const std::string& name, std::vector<std::vector<Scalar } auto size = readSize(full_name)[0]; const auto type = H5::VarLenType(HDF5_TYPE<Scalar>::get_PredType()); auto temp = HDF5_TYPE<Scalar>::get_PredType(); const auto type = H5::VarLenType(&temp); std::vector<hvl_t> data(size); Loading include/dca/io/hdf5/hdf5_writer.hpp +2 −1 Original line number Diff line number Diff line Loading @@ -193,7 +193,8 @@ void HDF5Writer::execute(const std::string& name, const std::vector<std::vector< data[i].len = value[i].size(); } const auto type = H5::VarLenType(HDF5_TYPE<Scalar>::get_PredType()); auto temp = HDF5_TYPE<Scalar>::get_PredType(); const auto type = H5::VarLenType(&temp); write(full_name, std::vector<hsize_t>{data.size()}, type, data.data()); } Loading Loading
include/dca/io/hdf5/hdf5_reader.hpp +2 −1 Original line number Diff line number Diff line Loading @@ -159,7 +159,8 @@ bool HDF5Reader::execute(const std::string& name, std::vector<std::vector<Scalar } auto size = readSize(full_name)[0]; const auto type = H5::VarLenType(HDF5_TYPE<Scalar>::get_PredType()); auto temp = HDF5_TYPE<Scalar>::get_PredType(); const auto type = H5::VarLenType(&temp); std::vector<hvl_t> data(size); Loading
include/dca/io/hdf5/hdf5_writer.hpp +2 −1 Original line number Diff line number Diff line Loading @@ -193,7 +193,8 @@ void HDF5Writer::execute(const std::string& name, const std::vector<std::vector< data[i].len = value[i].size(); } const auto type = H5::VarLenType(HDF5_TYPE<Scalar>::get_PredType()); auto temp = HDF5_TYPE<Scalar>::get_PredType(); const auto type = H5::VarLenType(&temp); write(full_name, std::vector<hsize_t>{data.size()}, type, data.data()); } Loading