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
final revalidation of this multi-example
[simgrid.git]
/
examples
/
simdag
/
dot
/
dot_test2.c
diff --git
a/examples/simdag/dot/dot_test2.c
b/examples/simdag/dot/dot_test2.c
index
b9baad1
..
c2457f2
100644
(file)
--- a/
examples/simdag/dot/dot_test2.c
+++ b/
examples/simdag/dot/dot_test2.c
@@
-51,7
+51,8
@@
int main(int argc, char **argv)
SD_task_dump(task);
}
- xbt_dynar_foreach(dot, cursor, task) {
+ cursor=0;
+ while ((task=dot_as_array[cursor++])){
SD_task_destroy(task);
}