diff options
author | James Laird <jlaird@hdfgroup.org> | 2006-04-21 19:21:24 (GMT) |
---|---|---|
committer | James Laird <jlaird@hdfgroup.org> | 2006-04-21 19:21:24 (GMT) |
commit | 91e56dc68db9b37fb536bac555e95953ba240ac2 (patch) | |
tree | 55140e8a869ac834886f90f94dd805ff4be2fd08 /test/hyperslab.c | |
parent | 5eb6bc4dfebffadaa6de112b66f43e20bad9d0c5 (diff) | |
download | hdf5-91e56dc68db9b37fb536bac555e95953ba240ac2.zip hdf5-91e56dc68db9b37fb536bac555e95953ba240ac2.tar.gz hdf5-91e56dc68db9b37fb536bac555e95953ba240ac2.tar.bz2 |
[svn-r12295] Purpose:
Several bug fixes
Description:
Added config file for Cray X1 (previous file was misnamed)
Simplified some code in hyperslab.c test that seemed to have been
confusing compiler on Cray X1.
Fixed typo in config/commence.am
Cleaned up hl/src/Makefile.am
Solution:
All four fixes should be straightforward. The failure on Cray was
very difficult to debug, but involved arithmetic errors.
This change seems to fix it.
Platforms tested:
heping, copper, sol, some Cray X1 (more testing when system comes back up)
Diffstat (limited to 'test/hyperslab.c')
-rw-r--r-- | test/hyperslab.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/hyperslab.c b/test/hyperslab.c index b954ace..cd85c3d 100644 --- a/test/hyperslab.c +++ b/test/hyperslab.c @@ -62,7 +62,9 @@ init_full(uint8_t *array, size_t nx, size_t ny, size_t nz) for (j=0; j<ny; j++) { for (k=0; k<nz; k++) { total += acc; - *array++ = acc++; + *array = acc; + acc++; + array++; } } } |