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
Use new macros THROWF and RETHROWF.
[simgrid.git]
/
src
/
xbt
/
graph.c
diff --git
a/src/xbt/graph.c
b/src/xbt/graph.c
index
8fdec17
..
a71e447
100644
(file)
--- a/
src/xbt/graph.c
+++ b/
src/xbt/graph.c
@@
-528,7
+528,7
@@
void xbt_graph_depth_visit(xbt_graph_t g, xbt_node_t n,
if (*((int *) (n->xbtdata)) == ALREADY_EXPLORED)
return;
else if (*((int *) (n->xbtdata)) == CURRENTLY_EXPLORING)
- THROW
0
(0, 0, "There is a cycle");
+ THROW
F
(0, 0, "There is a cycle");
else {
*((int *) (n->xbtdata)) = CURRENTLY_EXPLORING;