more var changes to libhdf5 from libsrc4

This commit is contained in:
Ed Hartnett 2018-11-13 11:08:10 -07:00
parent 192a9b1b9e
commit e1eeb309a1

View File

@ -1472,7 +1472,7 @@ attach_dimscales(NC_GRP_INFO_T *grp)
/* Find dataset ID for dimension */
if (dim1->coord_var)
dim_datasetid = dim1->coord_var->hdf_datasetid;
dim_datasetid = ((NC_HDF5_VAR_INFO_T *)(dim1->coord_var->format_var_info))->hdf_datasetid;
else
dim_datasetid = hdf5_dim1->hdf_dimscaleid;
if(!(dim_datasetid > 0))