diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2021-05-07 16:45:05 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-07 16:45:05 (GMT) |
commit | 9023e98940d959aa974e655cc383fab0b0ed663c (patch) | |
tree | 8cad5bb35e1385c7a267319f4baf688d0efade63 /test/th5s.c | |
parent | 1e572b18e3c271f9de045a6b61e3c855779e7c58 (diff) | |
download | hdf5-9023e98940d959aa974e655cc383fab0b0ed663c.zip hdf5-9023e98940d959aa974e655cc383fab0b0ed663c.tar.gz hdf5-9023e98940d959aa974e655cc383fab0b0ed663c.tar.bz2 |
Removes gratuitous (double)x.yF casts (#632)
* Committing clang-format changes
* Removes gratuitous (double)x.yF casts
* Committing clang-format changes
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'test/th5s.c')
-rw-r--r-- | test/th5s.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/th5s.c b/test/th5s.c index 30c3396..51216dc 100644 --- a/test/th5s.c +++ b/test/th5s.c @@ -2575,7 +2575,7 @@ test_h5s_chunk(void) for (i = 0; i < CHUNK_DATA_NX; i++) { for (j = 0; j < CHUNK_DATA_NY; j++) { /* Check if the two values are within 0.001% range. */ - if (!H5_DBL_REL_EQUAL(chunk_data_dbl[i][j], (double)chunk_data_flt[i][j], (double)0.00001F)) + if (!H5_DBL_REL_EQUAL(chunk_data_dbl[i][j], (double)chunk_data_flt[i][j], 0.00001)) TestErrPrintf("%u: chunk_data_dbl[%d][%d]=%e, chunk_data_flt[%d][%d]=%e\n", (unsigned)__LINE__, i, j, chunk_data_dbl[i][j], i, j, (double)chunk_data_flt[i][j]); |