mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-31 17:10:47 +08:00
[svn-r20870] Description: Fixed HDFFV-7605: Dim Scales APIs- error when unattaching dim. sacles
* Fixed Loop counter when removing object in dimension set with more then one scale. Tested: jam (intel and gnu)
This commit is contained in:
parent
a558128a18
commit
f9174cbd9d
@ -815,7 +815,7 @@ herr_t H5DSdetach_scale(hid_t did,
|
||||
if(did_oi.fileno == tmp_oi.fileno && did_oi.addr == tmp_oi.addr) {
|
||||
/* if we found not the last one, copy the last one to replace
|
||||
the one which is found */
|
||||
if(i < nelmts-1)
|
||||
if(ii < nelmts-1)
|
||||
dsbuf[ii] = dsbuf[nelmts-1];
|
||||
nelmts--;
|
||||
found_dset=1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user