diff options
Diffstat (limited to 'tools/h5diff/test_h5diff.c')
-rw-r--r-- | tools/h5diff/test_h5diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5diff/test_h5diff.c b/tools/h5diff/test_h5diff.c index 783eb42..7247fcd 100644 --- a/tools/h5diff/test_h5diff.c +++ b/tools/h5diff/test_h5diff.c @@ -74,7 +74,7 @@ int write_dataset( hid_t loc_id, int rank, hsize_t *dims, const char *dset_name, /* Write the buf */ if ( buf ) - assert(H5Dwrite(dataset_id,type_id,H5S_ALL,H5S_ALL,H5P_DEFAULT,buf)>=0); + H5Dwrite(dataset_id,type_id,H5S_ALL,H5S_ALL,H5P_DEFAULT,buf); /* Close */ status = H5Dclose(dataset_id); |