diff options
Diffstat (limited to 'hl')
-rw-r--r-- | hl/test/test_ds.c | 2 |
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; } |