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
/
surf_c_bindings.cpp
diff --git
a/src/surf/surf_c_bindings.cpp
b/src/surf/surf_c_bindings.cpp
index
490ca6e
..
4c3a58d
100644
(file)
--- a/
src/surf/surf_c_bindings.cpp
+++ b/
src/surf/surf_c_bindings.cpp
@@
-51,7
+51,7
@@
void surf_presolve(void)
}
}
}
}
}
}
- xbt_dynar_foreach(
model_list
, iter, model)
+ xbt_dynar_foreach(
all_existing_models
, iter, model)
model->updateActionsState(NOW, 0.0);
}
model->updateActionsState(NOW, 0.0);
}
@@
-152,7
+152,7
@@
double surf_solve(double max_date)
NOW = NOW + surf_min;
/* FIXME: model_list or model_list_invoke? revisit here later */
/* sequential version */
NOW = NOW + surf_min;
/* FIXME: model_list or model_list_invoke? revisit here later */
/* sequential version */
- xbt_dynar_foreach(
model_list
, iter, model) {
+ xbt_dynar_foreach(
all_existing_models
, iter, model) {
model->updateActionsState(NOW, surf_min);
}
model->updateActionsState(NOW, surf_min);
}