Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Revert "remove a few smells in instrumentation"
[simgrid.git] / src / instr / instr_paje_containers.cpp
index 1306ddc..6af90f2 100644 (file)
@@ -25,9 +25,8 @@ xbt_dict_t trivaEdgeTypes = nullptr;     /* all link types defined */
 
 long long int instr_new_paje_id ()
 {
-  static long long int type_id = -1;
-  type_id++;
-  return type_id;
+  static long long int type_id = 0;
+  return type_id++;
 }
 
 void PJ_container_alloc ()