Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Modify iteration over models in surf_solve
[simgrid.git] / src / surf / ptask_L07.cpp
index 5a82bd1..1c45a5d 100644 (file)
@@ -24,6 +24,7 @@ void surf_host_model_init_ptask_L07()
 
   surf_host_model = new simgrid::surf::HostL07Model();
   all_existing_models.push_back(surf_host_model);
+  models_by_type[simgrid::kernel::resource::Model::Type::HOST].push_back(surf_host_model);
 }
 
 namespace simgrid {