mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-04-12 17:31:09 +08:00
Merge pull request #2127 in HDFFV/hdf5 from Fix_use_of_H5Dcreate_to_H5Dcreate2 to develop
* commit '2a94589f55bae69a06f8d672a904b9870d7353d1': Change from using H5Dcreate to H5Dcreate2
This commit is contained in:
commit
b003ff5b1b
@ -620,10 +620,10 @@ int MpioTest2G( MPI_Comm comm )
|
||||
/*
|
||||
* Create the dataset with default properties and close filespace.
|
||||
*/
|
||||
dset_id = H5Dcreate(file_id, DATASETNAME,
|
||||
dset_id = H5Dcreate2(file_id, DATASETNAME,
|
||||
H5T_NATIVE_INT, filespace,
|
||||
H5P_DEFAULT, dcpl_id, H5P_DEFAULT);
|
||||
VRFY((dset_id >= 0), "H5Dcreate succeeded");
|
||||
VRFY((dset_id >= 0), "H5Dcreate2 succeeded");
|
||||
H5Sclose(filespace);
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user