A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Modify iteration over models in surf_solve
[simgrid.git]
/
src
/
surf
/
host_clm03.cpp
diff --git
a/src/surf/host_clm03.cpp
b/src/surf/host_clm03.cpp
index
3b4cf2a
..
bb784a0
100644
(file)
--- a/
src/surf/host_clm03.cpp
+++ b/
src/surf/host_clm03.cpp
@@
-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)