diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2002-11-01 18:39:20 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2002-11-01 18:39:20 (GMT) |
commit | ba751a6a4c23bd0c53625e53f67562f5b4af00b4 (patch) | |
tree | 2afd6751bcb6e7eca02611463e16b05e3626287b /src/H5Smpio.c | |
parent | 23457df13df32e1db53b3ce36abd2ef7ad6d0494 (diff) | |
download | hdf5-ba751a6a4c23bd0c53625e53f67562f5b4af00b4.zip hdf5-ba751a6a4c23bd0c53625e53f67562f5b4af00b4.tar.gz hdf5-ba751a6a4c23bd0c53625e53f67562f5b4af00b4.tar.bz2 |
[svn-r6047] Purpose:
Bug fix & code cleanup
Description:
Hyperslab code for collapsing dimensions was incorrectly collapsing
selections inappropriately when the fastest changing dimension couldn't
be collapsed.
Also add some more assertions which will make similar bugs easier to find.
Solution:
Break out of loop earlier.
Platforms tested:
modi4 (parallel), too small to triple check.
Diffstat (limited to 'src/H5Smpio.c')
-rw-r--r-- | src/H5Smpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Smpio.c b/src/H5Smpio.c index e72a953..c4996a4 100644 --- a/src/H5Smpio.c +++ b/src/H5Smpio.c @@ -1033,7 +1033,7 @@ H5S_mpio_opt_possible( const H5S_t *mem_space, const H5S_t *file_space, const un htri_t c1,c2; /* Flags whether a selection is optimizable */ htri_t ret_value=TRUE; - FUNC_ENTER_NOAPI(H5S_all_opt_possible, FAIL); + FUNC_ENTER_NOAPI(H5S_mpio_opt_possible, FAIL); /* Check args */ assert(mem_space); |