diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2005-02-11 19:03:57 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2005-02-11 19:03:57 (GMT) |
commit | b7336b42870da04893b8cef4cb083fb6acb607d5 (patch) | |
tree | 9d090b2886fcc6ca61a67e5235de74d9a09e4ace | |
parent | 79dfca455709e0544212ef159ab23111e2f63c81 (diff) | |
download | hdf5-b7336b42870da04893b8cef4cb083fb6acb607d5.zip hdf5-b7336b42870da04893b8cef4cb083fb6acb607d5.tar.gz hdf5-b7336b42870da04893b8cef4cb083fb6acb607d5.tar.bz2 |
[svn-r9990] Purpose: Bug fix
Description: There's been some assertion failure on mir periodically. I tried my best to fix
it because I cannot repeat the failure. At line 3202, it said "H5T_bit_set(s, src.u.f.mpos, 1, FALSE)",
which is unclear to me. Simply commented it out.
Platforms tested: mir
-rw-r--r-- | src/H5Tconv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Tconv.c b/src/H5Tconv.c index 65ce7e4..116c936 100644 --- a/src/H5Tconv.c +++ b/src/H5Tconv.c @@ -3166,7 +3166,7 @@ H5T_conv_f_f (hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, size_t nelmts, H5T_bit_set (d, dst.u.f.epos, dst.u.f.esize, TRUE); H5T_bit_set (d, dst.u.f.mpos, dst.u.f.msize, FALSE); goto padding; - } + } } else if (H5T_bit_find (s, src.u.f.epos, src.u.f.esize, H5T_BIT_LSB, FALSE)<0) { /* @@ -3199,7 +3199,7 @@ H5T_conv_f_f (hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, size_t nelmts, msize = bitno; } else if (0==bitno) { msize = 1; - H5T_bit_set(s, src.u.f.mpos, 1, FALSE); + /*H5T_bit_set(s, src.u.f.mpos, 1, FALSE); - Why do this? */ } } else if (H5T_NORM_IMPLIED==src.u.f.norm) { msize = src.u.f.msize; |