From 75a35ff318769431c935addbcda6c00b0363279e Mon Sep 17 00:00:00 2001 From: Oliver Hahn Date: Wed, 20 Mar 2024 23:15:09 +0100 Subject: [PATCH] fixed mistakenly hardcoded float output in hdf5 backend for vectors --- include/HDF_IO.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/HDF_IO.hh b/include/HDF_IO.hh index 99f744f..60523fc 100755 --- a/include/HDF_IO.hh +++ b/include/HDF_IO.hh @@ -874,7 +874,7 @@ inline void HDFWriteDatasetVector( const std::string Filename, const std::string } HDF_DataspaceID = H5Screate_simple(2, HDF_Dims, NULL); - HDF_DatasetID = H5Dcreate( HDF_FileID, ObjName.c_str(), H5T_NATIVE_FLOAT, + HDF_DatasetID = H5Dcreate( HDF_FileID, ObjName.c_str(), HDF_Type, HDF_DataspaceID, H5P_DEFAULT ); H5Dwrite( HDF_DatasetID, HDF_Type, H5S_ALL, H5S_ALL, H5P_DEFAULT, &Data[0] );