summaryrefslogtreecommitdiffstats
path: root/perform
diff options
context:
space:
mode:
Diffstat (limited to 'perform')
-rw-r--r--perform/dectris_perf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/perform/dectris_perf.c b/perform/dectris_perf.c
index cf0580c..abaa92f 100644
--- a/perform/dectris_perf.c
+++ b/perform/dectris_perf.c
@@ -261,7 +261,7 @@ test_direct_write_uncompressed_data(hid_t fapl_id)
int i;
unsigned filter_mask = 0;
- hsize_t offset[RANK+1] = {0, 0, 0, 0};
+ hsize_t offset[RANK] = {0, 0, 0};
struct timeval timeval_start;
@@ -326,7 +326,7 @@ test_direct_write_compressed_data(hid_t fapl_id)
int i;
unsigned filter_mask = 0;
- hsize_t offset[RANK+1] = {0, 0, 0, 0};
+ hsize_t offset[RANK] = {0, 0, 0};
struct timeval timeval_start;