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
Update pipol files
[simgrid.git]
/
examples
/
simdag
/
dot
/
dot_test.c
diff --git
a/examples/simdag/dot/dot_test.c
b/examples/simdag/dot/dot_test.c
index
4a6da7b
..
3edb40d
100644
(file)
--- a/
examples/simdag/dot/dot_test.c
+++ b/
examples/simdag/dot/dot_test.c
@@
-48,6
+48,10
@@
int main(int argc, char **argv)
/* load the DOT file */
dot = SD_dotload(argv[2]);
+ if(dot == NULL){
+ INFO0("No dot load may be you have a cycle in your graph");
+ return -1;
+ }
/* Display all the tasks */
INFO0