summaryrefslogtreecommitdiffstats
path: root/test/chunk.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-06-04 22:28:11 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-06-04 22:28:11 (GMT)
commit15f2fb818498d5c1c377041493382a29e0d71a45 (patch)
tree3060276f664cb5febe611faa1f6101acd9a3e80b /test/chunk.c
parentb4c5e3e00965f4ba6bd6b865cbde3bd33fcdbe47 (diff)
downloadhdf5-15f2fb818498d5c1c377041493382a29e0d71a45.zip
hdf5-15f2fb818498d5c1c377041493382a29e0d71a45.tar.gz
hdf5-15f2fb818498d5c1c377041493382a29e0d71a45.tar.bz2
[svn-r408] ./test/dtypes.c
Added tests for transient and named types and their use in datasets. ./test/shtype.c Commented out all the tests since they no longer apply. ./test/chunk.c Removed a couple int->double coercion warnings.
Diffstat (limited to 'test/chunk.c')
-rw-r--r--test/chunk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/chunk.c b/test/chunk.c
index 35b5b85..33b4648 100644
--- a/test/chunk.c
+++ b/test/chunk.c
@@ -231,7 +231,7 @@ test_rowmaj (int op, hsize_t cache_size, hsize_t io_size)
H5Dclose (dset);
H5Fclose (file);
- return (double)SQUARE(CH_SIZE*DS_SIZE)/nio_g;
+ return (double)SQUARE(CH_SIZE*DS_SIZE)/(double)nio_g;
}
@@ -291,7 +291,7 @@ test_diag (int op, hsize_t cache_size, hsize_t io_size, hsize_t offset)
H5Dclose (dset);
H5Fclose (file);
- return (double)nio/nio_g;
+ return (double)nio/(double)nio_g;
}