summaryrefslogtreecommitdiffstats
path: root/test/tarray.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-10-10 19:22:03 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-10-10 19:22:03 (GMT)
commite1c1f5cc1543fccb47e46cc85531a6a4646e0fad (patch)
tree71394ddfeac675f0143fb788ef8307260548b2c3 /test/tarray.c
parent166580844b2cd4fe36eded33d060e1ab6750e7a6 (diff)
downloadhdf5-e1c1f5cc1543fccb47e46cc85531a6a4646e0fad.zip
hdf5-e1c1f5cc1543fccb47e46cc85531a6a4646e0fad.tar.gz
hdf5-e1c1f5cc1543fccb47e46cc85531a6a4646e0fad.tar.bz2
[svn-r9395] Purpose:
Bug fix Description: Correct a couple of array bounds issues exposed by the PGI compiler Platforms tested: Linux 2.4 (verbena) w/PGI compilers Too minor too requie h5committest
Diffstat (limited to 'test/tarray.c')
-rw-r--r--test/tarray.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/tarray.c b/test/tarray.c
index 3dd9137..ba44838 100644
--- a/test/tarray.c
+++ b/test/tarray.c
@@ -434,9 +434,9 @@ test_array_array_atomic(void)
/* Compare data read in */
for(i=0; i<SPACE1_DIM1; i++) {
- for(j=0; j<ARRAY2_DIM1; j++) {
- for(k=0; k<ARRAY2_DIM2; k++) {
- for(l=0; l<ARRAY2_DIM3; l++) {
+ for(j=0; j<ARRAY1_DIM1; j++) {
+ for(k=0; k<ARRAY3_DIM1; k++) {
+ for(l=0; l<ARRAY3_DIM2; l++) {
if(wdata[i][j][k][l]!=rdata[i][j][k][l]) {
TestErrPrintf("Array data information doesn't match!, wdata[%d][%d][%d][%d]=%d, rdata[%d][%d][%d][%d]=%d\n",(int)i,(int)j,(int)k,(int)l,(int)wdata[i][j][k][l],(int)i,(int)j,(int)k,(int)l,(int)rdata[i][j][k][l]);
continue;