diff --git a/src/h5core/h5b_model.c b/src/h5core/h5b_model.c index 577e7e5..8b66340 100644 --- a/src/h5core/h5b_model.c +++ b/src/h5core/h5b_model.c @@ -593,7 +593,6 @@ h5b_3d_set_view ( TRY (_dissolve_ghostzones (f, user_layout, write_layout)); b->user_layout[0] = user_layout[f->myproc]; b->write_layout[0] = write_layout[f->myproc]; - b->have_layout = 1; h5_debug ( "User layout: %lld:%lld, %lld:%lld, %lld:%lld", @@ -615,9 +614,9 @@ h5b_3d_set_view ( h5_free(user_layout); h5_free(write_layout); - - TRY( h5bpriv_release_hyperslab(f) ); #endif + TRY( h5bpriv_release_hyperslab(f) ); + b->have_layout = 1; H5_CORE_API_RETURN (H5_SUCCESS); }