Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
4c81b75f
Commit
4c81b75f
authored
Nov 29, 2001
by
Christopher Alfeld
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed assign bug with switch MST that was causing bandwidth
problems.
parent
ed13252a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
assign/assign.cc
assign/assign.cc
+1
-1
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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