Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
use/unuse -> ref/unref
[simgrid.git] / src / smpi / colls / allgatherv-ompi-neighborexchange.cpp
index 16c515a..1679e38 100644 (file)
@@ -205,8 +205,8 @@ smpi_coll_tuned_allgatherv_ompi_neighborexchange(void *sbuf, int scount,
 
         send_data_from = recv_data_from[i_parity];
       
-        new_sdtype->unuse();
-        new_rdtype->unuse();
+        Datatype::unref(new_sdtype);
+        Datatype::unref(new_rdtype);
     }
 
     return MPI_SUCCESS;