summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>1999-07-02 19:52:54 (GMT)
committerPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>1999-07-02 19:52:54 (GMT)
commit8ecbdd7050c038277de3e4644f1aed92163ba52c (patch)
tree66768c6c752982e3035d01fcf39c5a97debeb0b2
parent2343e9f61e7f4c5945638a0c504e5d14d07eb19d (diff)
downloadhdf5-8ecbdd7050c038277de3e4644f1aed92163ba52c.zip
hdf5-8ecbdd7050c038277de3e4644f1aed92163ba52c.tar.gz
hdf5-8ecbdd7050c038277de3e4644f1aed92163ba52c.tar.bz2
[svn-r1416] fixed a typo
-rw-r--r--tools/h5dumptst.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/h5dumptst.c b/tools/h5dumptst.c
index b63f37d..1ab058f 100644
--- a/tools/h5dumptst.c
+++ b/tools/h5dumptst.c
@@ -551,7 +551,7 @@ hsize_t sdim, maxdim;
H5Tinsert(type, "a_name", HOFFSET(dset1_t, a), H5T_STD_I32BE);
H5Tinsert(type, "b_name", HOFFSET(dset1_t, b), H5T_IEEE_F32BE);
- H5Tinsert(type, "c_name", HOFFSET(dset1_t, c), H5T_IEEE_D64BE);
+ H5Tinsert(type, "c_name", HOFFSET(dset1_t, c), H5T_IEEE_F64BE);
dataset = H5Dcreate(fid, "/dset1", type, space, create_plist);
@@ -881,8 +881,8 @@ const int perm[4] = {0,1,2,3}; /* the 0'th and the 3'rd indices are permuted */
dim[0] = dim[1] = dim[2] = dim[3] = 2;
H5Tinsert_array(type, "a_array", HOFFSET(dset1_t, a), 4, dim, perm, H5T_STD_I32BE);
- H5Tinsert_array(type, "b_array", HOFFSET(dset1_t, b), 4, dim, perm, H5T_IEEE_D64BE);
- H5Tinsert_array(type, "c_array", HOFFSET(dset1_t, c), 4, dim, perm, H5T_IEEE_D64BE);
+ H5Tinsert_array(type, "b_array", HOFFSET(dset1_t, b), 4, dim, perm, H5T_IEEE_F64BE);
+ H5Tinsert_array(type, "c_array", HOFFSET(dset1_t, c), 4, dim, perm, H5T_IEEE_F64BE);
type2 = H5Tcreate (H5T_COMPOUND, sizeof(dset1[0]));
@@ -915,7 +915,7 @@ const int perm[4] = {0,1,2,3}; /* the 0'th and the 3'rd indices are permuted */
dims[0] = 10;
space2 = H5Screate_simple(1, dims, NULL);
- attr = H5Acreate (dataset, "attr3", H5T_IEEE_D64BE, space2, H5P_DEFAULT);
+ attr = H5Acreate (dataset, "attr3", H5T_IEEE_F64BE, space2, H5P_DEFAULT);
for (i = 0; i < 10; i++) d[i] = 0.1 * i;
H5Awrite(attr, H5T_NATIVE_DOUBLE, d);
H5Sclose(space2);