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
dynar-- for hosts that restart
[simgrid.git]
/
src
/
surf
/
cpu_cas01.cpp
diff --git
a/src/surf/cpu_cas01.cpp
b/src/surf/cpu_cas01.cpp
index
d581269
..
a78b07a
100644
(file)
--- a/
src/surf/cpu_cas01.cpp
+++ b/
src/surf/cpu_cas01.cpp
@@
-143,7
+143,7
@@
void CpuCas01::apply_event(tmgr_trace_iterator_t event, double value)
if (value > 0) {
if(isOff())
-
xbt_dynar_push_as(host_that_restart, char*, (char *)
getName());
+
host_that_restart.push_back(
getName());
turnOn();
} else {
lmm_constraint_t cnst = getConstraint();