From 511fbb89de1c7a39cbe61dfe686ca1c607fdc666 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Fri, 16 Oct 2015 18:14:27 +0200 Subject: [PATCH] src/h5core/h5b_model.c: - h5b_3d_set_view(): bugfix in serial code --- src/h5core/h5b_model.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/h5core/h5b_model.c b/src/h5core/h5b_model.c index 543212f..1e32e3a 100644 --- a/src/h5core/h5b_model.c +++ b/src/h5core/h5b_model.c @@ -614,6 +614,11 @@ h5b_3d_set_view ( h5_free(user_layout); h5_free(write_layout); +#else + b->write_layout[0] = b->user_layout[0]; + b->i_max = b->user_layout->i_end; + b->j_max = b->user_layout->j_end; + b->k_max = b->user_layout->k_end; #endif TRY( h5bpriv_release_hyperslab(f) ); b->have_layout = 1;