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:
parent
cf4c1b12c5
commit
75a35ff318
1 changed files with 1 additions and 1 deletions
|
@ -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] );
|
||||
|
|
Loading…
Reference in a new issue