diff options
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++; } } } |