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
rename a global to make its purpose clear (hopefully)
[simgrid.git]
/
src
/
surf
/
host_clm03.cpp
diff --git
a/src/surf/host_clm03.cpp
b/src/surf/host_clm03.cpp
index
e4d4957
..
e18f042
100644
(file)
--- a/
src/surf/host_clm03.cpp
+++ b/
src/surf/host_clm03.cpp
@@
-28,7
+28,7
@@
void surf_host_model_init_current_default(void)
surf_network_model_init_LegrandVelho();
Model *model = surf_host_model;
surf_network_model_init_LegrandVelho();
Model *model = surf_host_model;
- xbt_dynar_push(
model_list
, &model);
+ xbt_dynar_push(
all_existing_models
, &model);
xbt_dynar_push(model_list_invoke, &model);
sg_platf_host_add_cb(host_parse_init);
}
xbt_dynar_push(model_list_invoke, &model);
sg_platf_host_add_cb(host_parse_init);
}
@@
-41,7
+41,7
@@
void surf_host_model_init_compound()
surf_host_model = new HostCLM03Model();
Model *model = surf_host_model;
surf_host_model = new HostCLM03Model();
Model *model = surf_host_model;
- xbt_dynar_push(
model_list
, &model);
+ xbt_dynar_push(
all_existing_models
, &model);
xbt_dynar_push(model_list_invoke, &model);
sg_platf_host_add_cb(host_parse_init);
}
xbt_dynar_push(model_list_invoke, &model);
sg_platf_host_add_cb(host_parse_init);
}