more use of storage field

This commit is contained in:
Edward Hartnett 2020-03-08 07:09:15 -06:00
parent 1761850795
commit 61357cfd4d

View File

@ -793,7 +793,7 @@ nc_def_var_extra(int ncid, int varid, int *shuffle, int *unused1,
/* Is this a variable with a chunksize greater than the current
* cache size? */
if (!var->contiguous && !var->compact)
if (var->storage == NC_CHUNKED)
{
/* Determine default chunksizes for this variable (do nothing
* for scalar vars). */