Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Die when attempting to free predefined operators.
[simgrid.git] / src / smpi / mpi / smpi_op.cpp
index bac540c..f2e3d7c 100644 (file)
@@ -270,7 +270,7 @@ void Op::ref(){
 void Op::unref(MPI_Op* op){
   if((*op)!=MPI_OP_NULL){
     (*op)->refcount_--;
-    if ((*op)->refcount_ == 0 && not (*op)->predefined_)
+    if ((*op)->refcount_ == 0 && not (*op)->is_predefined_)
       delete(*op);
   }
 }