summaryrefslogtreecommitdiffstats
path: root/tools/h5repack/h5repack_copy.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5repack/h5repack_copy.c')
-rw-r--r--tools/h5repack/h5repack_copy.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/tools/h5repack/h5repack_copy.c b/tools/h5repack/h5repack_copy.c
index f6b738c..76129ad 100644
--- a/tools/h5repack/h5repack_copy.c
+++ b/tools/h5repack/h5repack_copy.c
@@ -399,18 +399,17 @@ int do_copy_objects(hid_t fidin,
/*-------------------------------------------------------------------------
* check if we should use H5Ocopy or not
- * if the DCPL has filters or a non default layout, we read/write the object
+ * if the DCPL has filters, we read/write the object
* otherwise we do a copy using H5Ocopy
*-------------------------------------------------------------------------
*/
-
- if (nfilters || layout!=H5D_CONTIGUOUS
- /* does the dcpl has filters or non default layout ? */
+ if (nfilters
+ /* does the dcpl has filters ? */
||
options->op_tbl->nelems
- /* do we have input request for filter/chunking */
+ /* do we have input request for filter/chunk ? */
||
- options->all_filter==1 || options->all_layout==1
+ options->all_filter==1 || options->all_layout==1
)
{
int j;