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
Why the hell should pointer address printing be something else than debug? ;)
[simgrid.git]
/
src
/
xbt
/
graph.c
diff --git
a/src/xbt/graph.c
b/src/xbt/graph.c
index
184da8f
..
025c5a5
100644
(file)
--- a/
src/xbt/graph.c
+++ b/
src/xbt/graph.c
@@
-86,12
+86,12
@@
xbt_edge_t xbt_graph_get_edge(xbt_graph_t g, xbt_node_t src, xbt_node_t dst)
int cursor;
xbt_dynar_foreach(src->out, cursor, edge) {
int cursor;
xbt_dynar_foreach(src->out, cursor, edge) {
-
INFO
3("%p = %p--%p",edge,edge->src,edge->dst);
+
DEBUG
3("%p = %p--%p",edge,edge->src,edge->dst);
if((edge->src==src) && (edge->dst==dst)) return edge;
}
if(!g->directed) {
xbt_dynar_foreach(src->out, cursor, edge) {
if((edge->src==src) && (edge->dst==dst)) return edge;
}
if(!g->directed) {
xbt_dynar_foreach(src->out, cursor, edge) {
-
INFO
3("%p = %p--%p",edge,edge->src,edge->dst);
+
DEBUG
3("%p = %p--%p",edge,edge->src,edge->dst);
if((edge->dst==src) && (edge->src==dst)) return edge;
}
}
if((edge->dst==src) && (edge->src==dst)) return edge;
}
}