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 8c10623..141fc88 100644 --- a/hl/src/H5DS.c +++ b/hl/src/H5DS.c @@ -486,7 +486,7 @@ herr_t H5DSattach_scale(hid_t did, */ /* the attribute must be deleted, in order to the new one can reflect the changes*/ - if (H5Adelete(dsid,REFERENCE_LIST)<0) + if (H5Adelete2(dsid, ".", REFERENCE_LIST, H5P_DEFAULT) < 0) goto out; /* store the IDX information (index of the dataset that has the DS) */ @@ -836,7 +836,7 @@ herr_t H5DSdetach_scale(hid_t did, */ /* the attribute must be deleted, in order to the new one can reflect the changes*/ - if (H5Adelete(dsid,REFERENCE_LIST)<0) + if (H5Adelete2(dsid, ".", REFERENCE_LIST, H5P_DEFAULT) < 0) goto out; /* don't do anything for an empty array */ |