summaryrefslogtreecommitdiffstats
path: root/src/H5timer.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2016-03-12 09:23:51 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2016-03-12 09:23:51 (GMT)
commit8f874a501024607e617200c28d16c20757ddb29e (patch)
tree93148e5c161de3dd14d6182f95792506ac98c46d /src/H5timer.c
parent5938b81835746550f5adc5f76c9110ec37ed82a1 (diff)
downloadhdf5-8f874a501024607e617200c28d16c20757ddb29e.zip
hdf5-8f874a501024607e617200c28d16c20757ddb29e.tar.gz
hdf5-8f874a501024607e617200c28d16c20757ddb29e.tar.bz2
[svn-r29395] Corrected parentheses in floating-point compare macros.
Corrected H5_EB and H5_PB macros. Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1 autotools serial w/ Java, Fortran, & C++
Diffstat (limited to 'src/H5timer.c')
-rw-r--r--src/H5timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5timer.c b/src/H5timer.c
index 94f2883..d9be6bb 100644
--- a/src/H5timer.c
+++ b/src/H5timer.c
@@ -228,7 +228,7 @@ H5_bandwidth(char *buf/*out*/, double nbytes, double nseconds)
} else if(bw < H5_TB) {
sprintf(buf, "%05.4f", bw / H5_GB);
HDstrcpy(buf+5, " GB/s");
- } else if(bw < H5_EB) {
+ } else if(bw < H5_PB) {
sprintf(buf, "%05.4f", bw / H5_TB);
HDstrcpy(buf+5, " TB/s");
} else {