Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Don't add handles to the lookup for the sake of just removing them immediately...
[simgrid.git] / src / smpi / mpi / smpi_f2c.cpp
index 86f819d..be9e920 100644 (file)
@@ -25,8 +25,7 @@ F2C::F2C() = default;
 int F2C::add_f()
 {
   allocate_lookup();
-
-  my_f2c_id_                 = f2c_id();
+  my_f2c_id_                 = global_f2c_id();
   (*f2c_lookup_)[my_f2c_id_] = this;
   f2c_id_increment();
   return my_f2c_id_;