diff options
author | mainzer <mainzer#hdfgroup.org> | 2020-08-15 22:53:29 (GMT) |
---|---|---|
committer | mainzer <mainzer#hdfgroup.org> | 2020-08-15 22:53:29 (GMT) |
commit | 7b9f61c1575c53efb996f6934262f17f7870ddc6 (patch) | |
tree | bc0dda3552843fcac2e868678c93469a479bf14c /test/tattr.c | |
parent | 12bb6d7665b484854042db5da026a9910d711e32 (diff) | |
parent | 044ee6f88c78a70eb3694d8c73fa74c77fde9689 (diff) | |
download | hdf5-7b9f61c1575c53efb996f6934262f17f7870ddc6.zip hdf5-7b9f61c1575c53efb996f6934262f17f7870ddc6.tar.gz hdf5-7b9f61c1575c53efb996f6934262f17f7870ddc6.tar.bz2 |
Merge branch 'develop' into mdc_sl_opt
Diffstat (limited to 'test/tattr.c')
-rw-r--r-- | test/tattr.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/test/tattr.c b/test/tattr.c index dab03a7..496dd6c 100644 --- a/test/tattr.c +++ b/test/tattr.c @@ -542,7 +542,7 @@ test_attr_flush(hid_t fapl) ret=H5Aread(att, H5T_NATIVE_DOUBLE, &rdata); CHECK(ret, FAIL, "H5Awrite"); - if(!H5_DBL_ABS_EQUAL(rdata, 0.0)) + if(!H5_DBL_ABS_EQUAL(rdata, (double)0.0f)) TestErrPrintf("attribute value wrong: rdata=%f, should be %f\n",rdata,(double)0.0F); ret=H5Fflush(fil, H5F_SCOPE_GLOBAL); @@ -551,7 +551,7 @@ test_attr_flush(hid_t fapl) ret=H5Aread(att, H5T_NATIVE_DOUBLE, &rdata); CHECK(ret, FAIL, "H5Awrite"); - if(!H5_DBL_ABS_EQUAL(rdata, 0.0)) + if(!H5_DBL_ABS_EQUAL(rdata, (double)0.0f)) TestErrPrintf("attribute value wrong: rdata=%f, should be %f\n",rdata,(double)0.0F); ret=H5Awrite(att, H5T_NATIVE_DOUBLE, &wdata); @@ -6773,13 +6773,6 @@ attr_iterate2_cb(hid_t loc_id, const char *attr_name, const H5A_info_t *info, char attrname[NAME_BUF_SIZE]; /* Object name */ H5A_info_t my_info; /* Local attribute info */ -#ifdef QAK -HDfprintf(stderr, "attr_name = '%s'\n", attr_name); -if(info) - HDfprintf(stderr, "info->corder = %u\n", (unsigned)info->corder); -HDfprintf(stderr, "op_data->curr = %Hd\n", op_data->curr); -#endif /* QAK */ - /* Increment # of times the callback was called */ op_data->ncalled++; |