diff options
Diffstat (limited to 'test/chunk.c')
-rw-r--r-- | test/chunk.c | 4 |
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; } |