mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
more use of storage field
This commit is contained in:
parent
1761850795
commit
61357cfd4d
@ -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). */
|
||||
|
Loading…
Reference in New Issue
Block a user