diff options
author | Elena Pourmal <epourmal@hdfgroup.org> | 2014-04-07 17:05:22 (GMT) |
---|---|---|
committer | Elena Pourmal <epourmal@hdfgroup.org> | 2014-04-07 17:05:22 (GMT) |
commit | 849177c7b6810d2fc4c16092fc3e37a3fee12075 (patch) | |
tree | 009fea2e69f97ffea9ec5f7458675df78fbee0d4 /fortran/test/tH5T.f90 | |
parent | f6a04cded9e3ec9d2c672215c8ab7fffdec0a1ea (diff) | |
download | hdf5-849177c7b6810d2fc4c16092fc3e37a3fee12075.zip hdf5-849177c7b6810d2fc4c16092fc3e37a3fee12075.tar.gz hdf5-849177c7b6810d2fc4c16092fc3e37a3fee12075.tar.bz2 |
[svn-r24979] Maintenance: Addressed DT failures on emu in 64-bit mode and on macs, linux, powerpc
for non-standard sizes of reals.
Platforms tested: jam, ostrich, platypus, kite, quail, emu
Diffstat (limited to 'fortran/test/tH5T.f90')
-rw-r--r-- | fortran/test/tH5T.f90 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/fortran/test/tH5T.f90 b/fortran/test/tH5T.f90 index 60ddefb..aac5f33 100644 --- a/fortran/test/tH5T.f90 +++ b/fortran/test/tH5T.f90 @@ -528,7 +528,12 @@ CONTAINS CALL h5dread_f(dset_id, dt3_id, double_member_out, data_dims, error) CALL check("h5dread_f", error, total_error) do i = 1, dimsize - CALL compare_floats(double_member_out(i), double_member(i), differ) + differ = .FALSE. + if (abs(double_member_out(i) - double_member(i)) .ge. 1.D-08) THEN + differ = .TRUE. + endif + ! This is temorary fix until we figure out how to compare floats + !CALL compare_floats(double_member_out(i), double_member(i), differ) if (differ) then write(*,*) " Wrong double precision data is read back " total_error = total_error + 1 |