1
0
Fork 0
mirror of https://github.com/cosmo-sims/monofonIC.git synced 2024-09-18 15:53:45 +02:00

fixed mistakenly hardcoded float output in hdf5 backend for vectors

This commit is contained in:
Oliver Hahn 2024-03-20 23:15:09 +01:00
parent cf4c1b12c5
commit 75a35ff318

View file

@ -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] );