Skip to content

Commit 6649d74

Browse files
committed
Merge branch 'nc4var.c' of https://github.com/wkliao/netcdf-c into gh2261.wif
2 parents 40412e6 + 548a33a commit 6649d74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libsrc4/nc4var.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ NC4_var_par_access(int ncid, int varid, int par_access)
481481
/* If zlib, shuffle, or fletcher32 filters are in use, then access
482482
* must be collective. Fail an attempt to set such a variable to
483483
* independent access. */
484-
if (nclistlength((NClist*)var->filters) > 0)
484+
if (nclistlength((NClist*)var->filters) > 0 &&
485485
par_access == NC_INDEPENDENT)
486486
return NC_EINVAL;
487487

0 commit comments

Comments
 (0)