summaryrefslogtreecommitdiffstats
path: root/hl/test/test_ds.c
diff options
context:
space:
mode:
authorRobert E. McGrath <mcgrath@ncsa.uiuc.edu>2005-02-25 18:48:17 (GMT)
committerRobert E. McGrath <mcgrath@ncsa.uiuc.edu>2005-02-25 18:48:17 (GMT)
commitcffc51b94c8536e89cab61e68b6122a0e186524a (patch)
tree7d027cb745ec8fa04bf3e5b43f652ee9da1e4d10 /hl/test/test_ds.c
parentbcb3dd3a217c0a3314c69e06f30843468101b8d8 (diff)
downloadhdf5-cffc51b94c8536e89cab61e68b6122a0e186524a.zip
hdf5-cffc51b94c8536e89cab61e68b6122a0e186524a.tar.gz
hdf5-cffc51b94c8536e89cab61e68b6122a0e186524a.tar.bz2
[svn-r10086] Purpose:
bug Description: bug in test Solution: fix bug Platforms tested: arabica,shanti 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 071fe72..52a891f 100644
--- a/hl/test/test_ds.c
+++ b/hl/test/test_ds.c
@@ -1780,7 +1780,7 @@ static int test_rank(void)
for (i=0; i<rank; i++)
{
sprintf(name,"ds_a_%d",i);
- if (H5LTmake_dataset_int(fid,name,rankds,&dims[i],NULL)<0)
+ if (H5LTmake_dataset_int(fid,name,(rank-i),&dims[i],NULL)<0)
goto out;
}