mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-01 16:28:09 +08:00
[svn-r10086] Purpose:
bug Description: bug in test Solution: fix bug Platforms tested: arabica,shanti Misc. update:
This commit is contained in:
parent
bcb3dd3a21
commit
cffc51b94c
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user