[svn-r20384] Purpose:
Fixed Bug 2184 - GMQS: h5diff - incorrect calculation code for
--use-system-epsilon option
Description:
Merged from HDF5 1.8 branch r20369.
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)
This commit is contained in:
8
tools/h5diff/testfiles/h5diff_104.txt
Normal file
8
tools/h5diff/testfiles/h5diff_104.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
dataset: </g1/fp1> and </g1/fp2>
|
||||
size: [3x2] [3x2]
|
||||
position fp1 fp2 difference
|
||||
------------------------------------------------------------
|
||||
[ 1 0 ] 1e-07 3e-07 2e-07
|
||||
[ 1 1 ] 2.2e-07 1e-07 1.2e-07
|
||||
2 differences found
|
||||
EXIT CODE: 1
|
||||
Reference in New Issue
Block a user