diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1998-04-29 15:57:02 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1998-04-29 15:57:02 (GMT) |
commit | 21ac8a7f030e7b98b29e82cdcc9cc87196788be2 (patch) | |
tree | 2b47c8306579c60f13ce6668aca90e60647cfc62 | |
parent | a9a1a52fecc60b0c5f2bc9fd37d12122481ed1cd (diff) | |
download | hdf5-21ac8a7f030e7b98b29e82cdcc9cc87196788be2.zip hdf5-21ac8a7f030e7b98b29e82cdcc9cc87196788be2.tar.gz hdf5-21ac8a7f030e7b98b29e82cdcc9cc87196788be2.tar.bz2 |
[svn-r381] Added "rank=0" for a scalar variable initialization.
-rw-r--r-- | src/H5S.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 */ |