From 2a5e9f353fedaeb5ba5fdfac77c78a89342655db Mon Sep 17 00:00:00 2001 From: Raymond Lu Date: Thu, 14 Apr 2011 12:26:37 -0500 Subject: [svn-r20497] Bug 1386 - allow dimension size to be zero even though it isn't unlimited. I took out some comment. No test needed. --- src/H5S.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/H5S.c b/src/H5S.c index 13e74de..21029ef 100644 --- a/src/H5S.c +++ b/src/H5S.c @@ -1161,13 +1161,8 @@ H5Sis_simple(hid_t space_id) Verifies that each element of DIMS is not equal to H5S_UNLIMITED. Raymond Lu 03/30/2011 - We allow 0-dimension for non-unlimited dimension starting from 1.8.7 + We allow 0 dimension size for non-unlimited dimension starting from 1.8.7 release. - - Raymond Lu 04/11/2011 - I added a condition check to make sure the new size won't exceed the - current maximal size when this function is called to change the - dimension size of an existent dataspace. --------------------------------------------------------------------------*/ herr_t H5Sset_extent_simple(hid_t space_id, int rank, const hsize_t dims[/*rank*/], -- cgit v0.12