summaryrefslogtreecommitdiffstats
path: root/tools/h5repack/h5repack_verify.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5repack/h5repack_verify.c')
-rw-r--r--tools/h5repack/h5repack_verify.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/h5repack/h5repack_verify.c b/tools/h5repack/h5repack_verify.c
index c4495c2..a878621 100644
--- a/tools/h5repack/h5repack_verify.c
+++ b/tools/h5repack/h5repack_verify.c
@@ -489,7 +489,7 @@ static int has_filters(hid_t pid, hid_t tid, unsigned nfilters, filter_info_t *f
case H5Z_FILTER_SHUFFLE:
/* 1 private client value is returned by DCPL */
- if ( cd_nelmts != H5Z_SHUFFLE_TOTAL_NPARMS && filter[i].cd_nelmts != 0 )
+ if ( cd_nelmts != H5Z_SHUFFLE_TOTAL_NPARMS && filter[i].cd_nelmts != H5Z_SHUFFLE_USER_NPARMS )
return 0;
/* get dataset's type size */
@@ -519,6 +519,8 @@ static int has_filters(hid_t pid, hid_t tid, unsigned nfilters, filter_info_t *f
case H5Z_FILTER_NBIT:
/* TO DO */
+
+ ;
@@ -527,6 +529,8 @@ static int has_filters(hid_t pid, hid_t tid, unsigned nfilters, filter_info_t *f
case H5Z_FILTER_SCALEOFFSET:
/* TO DO */
+
+ ;