Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Modify iteration over models in surf_solve
[simgrid.git] / src / surf / host_clm03.cpp
index 3b4cf2a..bb784a0 100644 (file)
@@ -29,6 +29,7 @@ namespace surf {
 HostCLM03Model::HostCLM03Model()
 {
   all_existing_models.push_back(this);
+  models_by_type[simgrid::kernel::resource::Model::Type::HOST].push_back(this);
 }
 
 double HostCLM03Model::next_occurring_event(double now)