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
Allow MSG one-side communications that rely on parallel task to work with the compoun...
[simgrid.git]
/
src
/
surf
/
surf.c
diff --git
a/src/surf/surf.c
b/src/surf/surf.c
index
3cf2263
..
254fa76
100644
(file)
--- a/
src/surf/surf.c
+++ b/
src/surf/surf.c
@@
-600,12
+600,12
@@
double surf_solve(double max_date)
min = model_next_action_end;
}
min = model_next_action_end;
}
- if (next_event_date
== -1
.0) {
+ if (next_event_date
< 0
.0) {
XBT_DEBUG("no next TRACE event. Stop searching for it");
break;
}
XBT_DEBUG("no next TRACE event. Stop searching for it");
break;
}
- if ((min
!= -1.0) &&
(next_event_date > NOW + min)) break;
+ if ((min
== -1.0) ||
(next_event_date > NOW + min)) break;
XBT_DEBUG("Updating models");
while ((event =
XBT_DEBUG("Updating models");
while ((event =