diff options
Diffstat (limited to 'hl/src/H5DS.c')
-rw-r--r-- | hl/src/H5DS.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hl/src/H5DS.c b/hl/src/H5DS.c index 7b59c18..a29d8ae 100644 --- a/hl/src/H5DS.c +++ b/hl/src/H5DS.c @@ -485,7 +485,7 @@ herr_t H5DSattach_scale(hid_t did, */ /* the attribute must be deleted, in order to the new one can reflect the changes*/ - if (H5Adelete2(dsid, ".", REFERENCE_LIST, H5P_DEFAULT) < 0) + if(H5Adelete(dsid, REFERENCE_LIST) < 0) goto out; /* store the IDX information (index of the dataset that has the DS) */ @@ -835,7 +835,7 @@ herr_t H5DSdetach_scale(hid_t did, */ /* the attribute must be deleted, in order to the new one can reflect the changes*/ - if (H5Adelete2(dsid, ".", REFERENCE_LIST, H5P_DEFAULT) < 0) + if(H5Adelete(dsid, REFERENCE_LIST) < 0) goto out; /* don't do anything for an empty array */ |