Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
4c81b75f
Commit
4c81b75f
authored
Nov 29, 2001
by
Christopher Alfeld
Browse files
Fixed assign bug with switch MST that was causing bandwidth
problems.
parent
ed13252a
Changes
1
Hide whitespace changes
Inline
Side-by-side
assign/assign.cc
View file @
4c81b75f
...
...
@@ -541,7 +541,7 @@ int main(int argc, char **argv)
cout
<<
"Calculating shortest paths on switch fabric."
<<
endl
;
edge
ed
;
forall_edges
(
ed
,
SG
)
{
edge_costs
[
ed
]
=
10000
-
PG
[
SG
[
ed
].
mate
].
bandwidth
;
edge_costs
[
ed
]
=
10000
0000
-
PG
[
SG
[
ed
].
mate
].
bandwidth
;
#ifdef SCORE_DEBUG
cerr
<<
" "
<<
PG
[
SG
[
ed
].
mate
].
name
<<
" "
<<
edge_costs
[
ed
]
<<
endl
;
#endif
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment