[svn-r381] Added "rank=0" for a scalar variable initialization.

This commit is contained in:
Quincey Koziol 1998-04-29 10:57:02 -05:00
parent a9a1a52fec
commit 21ac8a7f03

View File

@ -155,6 +155,7 @@ H5Screate_simple(int rank, const hsize_t *dims, const hsize_t *maxdims)
else /* rank==0, for scalar data space */
{
ds->type = H5S_SCALAR;
ds->u.simple.rank = 0;
} /* end else */
/* Register the new data space and get an ID for it */