summaryrefslogtreecommitdiffstats
path: root/tools/h5diff/h5diff_common.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2006-11-27 18:55:33 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2006-11-27 18:55:33 (GMT)
commit24abd275236a54a8368bee4ea17e1d6faa61780a (patch)
treefaf280414424d4233557513c9dc81af4bbb925be /tools/h5diff/h5diff_common.c
parent7e328ad37c0cc4b63f800f4a1b24dd559ae6904a (diff)
downloadhdf5-24abd275236a54a8368bee4ea17e1d6faa61780a.zip
hdf5-24abd275236a54a8368bee4ea17e1d6faa61780a.tar.gz
hdf5-24abd275236a54a8368bee4ea17e1d6faa61780a.tar.bz2
[svn-r12980]
changed the usage message relative to the relative error formula to a more common and easy to understand form | (b-a) / a |
Diffstat (limited to 'tools/h5diff/h5diff_common.c')
-rw-r--r--tools/h5diff/h5diff_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5diff/h5diff_common.c b/tools/h5diff/h5diff_common.c
index 7133005..42a1943 100644
--- a/tools/h5diff/h5diff_common.c
+++ b/tools/h5diff/h5diff_common.c
@@ -305,7 +305,7 @@ void usage(void)
printf("The 'count' value must be a positive integer\n");
printf("The 'delta' and 'relative' values must be positive numbers\n");
printf("The -d compare criteria is |a - b| > delta\n");
- printf("The -p compare criteria is |1 - b/a| > relative\n");
+ printf("The -p compare criteria is |(b-a)/a| > relative\n");
printf("\n");
printf("h5diff has four modes of output:\n");
printf(" Normal mode: print the number of differences found and where they occured\n");