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 booleans instead of ints for tracing options.
[simgrid.git]
/
src
/
simdag
/
sd_workstation.c
diff --git
a/src/simdag/sd_workstation.c
b/src/simdag/sd_workstation.c
index
574c99c
..
14a0c70
100644
(file)
--- a/
src/simdag/sd_workstation.c
+++ b/
src/simdag/sd_workstation.c
@@
-364,8
+364,7
@@
double SD_route_get_current_bandwidth(SD_workstation_t src,
links = SD_route_get_list(src, dst);
nb_links = SD_route_get_size(src, dst);
links = SD_route_get_list(src, dst);
nb_links = SD_route_get_size(src, dst);
- bandwidth = min_bandwidth = -1.0;
-
+ min_bandwidth = -1.0;
for (i = 0; i < nb_links; i++) {
bandwidth = SD_link_get_current_bandwidth(links[i]);
for (i = 0; i < nb_links; i++) {
bandwidth = SD_link_get_current_bandwidth(links[i]);