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
NO_MAX_DURATION is a double.
[simgrid.git]
/
src
/
surf
/
cpu_ti.cpp
diff --git
a/src/surf/cpu_ti.cpp
b/src/surf/cpu_ti.cpp
index
b51fe9c
..
a24b853
100644
(file)
--- a/
src/surf/cpu_ti.cpp
+++ b/
src/surf/cpu_ti.cpp
@@
-411,7
+411,7
@@
void CpuTi::update_actions_finish_time(double now)
}
for (CpuTiAction& action : action_set_) {
- double min_finish =
-1
;
+ double min_finish =
NO_MAX_DURATION
;
/* action not running, skip it */
if (action.get_state_set() != get_model()->get_started_action_set())
continue;