diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2012-08-09 20:24:56 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2012-08-09 20:24:56 (GMT) |
commit | 527a6edb3ef6cc698efb3ddfb41279541fee0602 (patch) | |
tree | fbf9942017afe1e55f6d7cf644277ec27bb2a38a /perform | |
parent | 3b3ae10c5b7a54a64c92b321d53cfe3b00c6584d (diff) | |
download | hdf5-527a6edb3ef6cc698efb3ddfb41279541fee0602.zip hdf5-527a6edb3ef6cc698efb3ddfb41279541fee0602.tar.gz hdf5-527a6edb3ef6cc698efb3ddfb41279541fee0602.tar.bz2 |
[svn-r22655] Dectris project - I changed the rank of the offset for H5PSIdirect_write from RANK+1 to RANK. But internally, it expands to RANK+1 as
the library requires it to terminate with a zero.
Tested on koala.
Diffstat (limited to 'perform')
-rw-r--r-- | perform/dectris_perf.c | 4 |
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; |