summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/H5Dio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Dio.c b/src/H5Dio.c
index ff8739d..f005781 100644
--- a/src/H5Dio.c
+++ b/src/H5Dio.c
@@ -2802,7 +2802,7 @@ H5D_create_chunk_file_map_hyper(fm_map *fm)
do {
/* Reset current dimension's location to 0 */
coords[curr_dim]=start_coords[curr_dim]; /*lint !e771 The start_coords will always be initialized */
-
+ end[curr_dim]=(coords[curr_dim]+(hssize_t)fm->chunk_dim[curr_dim])-1;
/* Decrement current dimension */
curr_dim--;
@@ -3313,7 +3313,7 @@ H5D_ioinfo_init(H5D_t *dset, const H5D_dxpl_cache_t *dxpl_cache, hid_t dxpl_id,
io_info->ops.write = H5D_mpio_spaces_write;
}
- #ifdef KYANG
+ #ifdef KYANG
else {
io_info->ops.read = H5D_mpio_spaces_span_read;
io_info->ops.write = H5D_mpio_spaces_span_write;