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
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid into LLL
[simgrid.git]
/
src
/
xbt
/
graph.c
diff --git
a/src/xbt/graph.c
b/src/xbt/graph.c
index
a56d008
..
e56e413
100644
(file)
--- a/
src/xbt/graph.c
+++ b/
src/xbt/graph.c
@@
-561,7
+561,7
@@
static void __parse_graph_begin(void)
else
parsed_graph = xbt_graph_new_graph(0, NULL);
else
parsed_graph = xbt_graph_new_graph(0, NULL);
- parsed_nodes = xbt_dict_new
(
);
+ parsed_nodes = xbt_dict_new
_homogeneous(NULL
);
}
static void __parse_graph_end(void)
}
static void __parse_graph_end(void)
@@
-735,7
+735,7
@@
xbt_graph_t xbt_graph_load (const char *filename)
file = fopen (filename, "r");
xbt_assert(file, "Failed to open %s \n", filename);
file = fopen (filename, "r");
xbt_assert(file, "Failed to open %s \n", filename);
- xbt_dict_t nodes_dict = xbt_dict_new
(
);
+ xbt_dict_t nodes_dict = xbt_dict_new
_homogeneous(NULL
);
xbt_graph_t ret = xbt_graph_new_graph (0, NULL);
//read the number of nodes
xbt_graph_t ret = xbt_graph_new_graph (0, NULL);
//read the number of nodes