summaryrefslogtreecommitdiffstats
path: root/tools/h5diff/testfiles/h5diff_102.txt
diff options
context:
space:
mode:
authorJonathan Kim <jkm@hdfgroup.org>2011-03-29 16:20:19 (GMT)
committerJonathan Kim <jkm@hdfgroup.org>2011-03-29 16:20:19 (GMT)
commitd467c2ce717d4633185b063b58eff262126749b7 (patch)
treecd6964394635ea907f212c496fd6ec71b5540a61 /tools/h5diff/testfiles/h5diff_102.txt
parentea694afb00e3971edbf913baea660dc315b9d8b7 (diff)
downloadhdf5-d467c2ce717d4633185b063b58eff262126749b7.zip
hdf5-d467c2ce717d4633185b063b58eff262126749b7.tar.gz
hdf5-d467c2ce717d4633185b063b58eff262126749b7.tar.bz2
[svn-r20369] Purpose:
Fixed Bug 2184 - GMQS: h5diff - incorrect calculation code for --use-system-epsilon option Description: Fixed h5diff for --use-system-epsilon option: the calculation changed from ( |a - b| / b ) to ( |a - b| ). This was decided for better performance and was corrected only in HDF5 trunk, so 1.8 got updated. Also comments for equal_XXX() function were updated correctly. Also help page and RM got updated correctly. Also add test cases for testing the differences w/wo the option. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows (32-LE)
Diffstat (limited to 'tools/h5diff/testfiles/h5diff_102.txt')
-rw-r--r--tools/h5diff/testfiles/h5diff_102.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/h5diff/testfiles/h5diff_102.txt b/tools/h5diff/testfiles/h5diff_102.txt
index 30a2491..476067b 100644
--- a/tools/h5diff/testfiles/h5diff_102.txt
+++ b/tools/h5diff/testfiles/h5diff_102.txt
@@ -2,9 +2,9 @@ dataset: </g1/fp1> and </g1/fp2>
size: [3x2] [3x2]
position fp1 fp2 difference
------------------------------------------------------------
-[ 0 1 ] 1e-05 2e-05 1e-05
-[ 1 0 ] 1e-05 9e-06 9.99999e-07
-[ 1 1 ] 0 1e-05 1e-05
-[ 2 0 ] 1e-05 0 1e-05
+[ 0 1 ] 1e-07 2e-07 1e-07
+[ 1 0 ] 1e-07 3e-07 2e-07
+[ 1 1 ] 2.2e-07 1e-07 1.2e-07
+[ 2 0 ] 1e-07 0 1e-07
4 differences found
EXIT CODE: 1