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
Remove usage of xbt_dict_size().
[simgrid.git]
/
src
/
surf
/
surf_routing.c
diff --git
a/src/surf/surf_routing.c
b/src/surf/surf_routing.c
index
6bac929
..
701eabf
100644
(file)
--- a/
src/surf/surf_routing.c
+++ b/
src/surf/surf_routing.c
@@
-1075,7
+1075,7
@@
static void routing_parse_Srandom(void)
random_id, random->min, random->max, random->mean, random->std,
random->generator, random->seed, random_radical);
- if (
xbt_dict_size(random_value) == 0
)
+ if (
!random_value
)
random_value = xbt_dict_new();
if (!strcmp(random_radical, "")) {