summaryrefslogtreecommitdiffstats
path: root/src/H5Dlayout.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Dlayout.c')
-rw-r--r--src/H5Dlayout.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/H5Dlayout.c b/src/H5Dlayout.c
index 853f902..7f2fe1f 100644
--- a/src/H5Dlayout.c
+++ b/src/H5Dlayout.c
@@ -301,6 +301,8 @@ H5D_layout_set_latest_version(H5O_layout_t *layout, const H5S_t *space)
if(1 == unlim_count) {
/* Set the chunk index type to an extensible array */
layout->u.chunk.idx_type = H5D_CHUNK_IDX_EARRAY;
+ layout->storage.u.chunk.idx_type = H5D_CHUNK_IDX_EARRAY;
+ layout->storage.u.chunk.ops = H5D_COPS_EARRAY;;
/* Set the extensible array creation parameters */
/* (use hard-coded defaults for now, until we give applications
@@ -316,6 +318,8 @@ H5D_layout_set_latest_version(H5O_layout_t *layout, const H5S_t *space)
else if(layout->type == H5D_CHUNKED && fixed) {
/* Set the chunk index type to a fixed array */
layout->u.chunk.idx_type = H5D_CHUNK_IDX_FARRAY;
+ layout->storage.u.chunk.idx_type = H5D_CHUNK_IDX_FARRAY;
+ layout->storage.u.chunk.ops = H5D_COPS_FARRAY;;
/* Set the fixed array creation parameters */
/* (use hard-coded defaults for now, until we give applications