summaryrefslogtreecommitdiffstats
path: root/hl/test/test_ds.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2005-07-20 19:40:51 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2005-07-20 19:40:51 (GMT)
commitd4bf186a1867dfc15f458bb1da9f785d4b43aaa3 (patch)
treea646a9ebf60fb71a277a2ce6baff57b6efdbd084 /hl/test/test_ds.c
parent7a2590222e14ff6877ee395cb53dffaa844ecb36 (diff)
downloadhdf5-d4bf186a1867dfc15f458bb1da9f785d4b43aaa3.zip
hdf5-d4bf186a1867dfc15f458bb1da9f785d4b43aaa3.tar.gz
hdf5-d4bf186a1867dfc15f458bb1da9f785d4b43aaa3.tar.bz2
[svn-r11091] Purpose:
improve documentation by comments changed the return value of H5DSget_num_scales for a case when there are no scales attached from FAIL (-1) to 0 Description: Solution: Platforms tested: linux solaris Misc. update:
Diffstat (limited to 'hl/test/test_ds.c')
-rw-r--r--hl/test/test_ds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hl/test/test_ds.c b/hl/test/test_ds.c
index 5d6fdbd..8269805 100644
--- a/hl/test/test_ds.c
+++ b/hl/test/test_ds.c
@@ -2130,7 +2130,7 @@ static int test_iterators(void)
goto out;
/* try to iterate trough the 1st dimension of "dset_a", return error */
- if (H5DSiterate_scales(did,0,NULL,verifiy_scale,NULL)==SUCCESS)
+ if (H5DSiterate_scales(did,0,NULL,verifiy_scale,NULL)<0)
goto out;
/* close */