diff options
-rw-r--r-- | tools/h5repack/h5repack_copy.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/h5repack/h5repack_copy.c b/tools/h5repack/h5repack_copy.c index 92f8321..312f085 100644 --- a/tools/h5repack/h5repack_copy.c +++ b/tools/h5repack/h5repack_copy.c @@ -606,7 +606,11 @@ int do_copy_objects(hid_t fidin, has_filter = 0; req_filter = 0; - /* check if filters were requested */ + /* check if global filters were requested */ + if ( options->n_filter_g ) + req_filter = 1; + + /* check if filters were requested for individual objects */ for( u = 0; u < options->op_tbl->nelems; u++) { int k; |