Commit 4c81b75f authored by Christopher Alfeld's avatar Christopher Alfeld

Fixed assign bug with switch MST that was causing bandwidth

problems.
parent ed13252a
......@@ -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] = 100000000-PG[SG[ed].mate].bandwidth;
#ifdef SCORE_DEBUG
cerr << " " << PG[SG[ed].mate].name << " " << edge_costs[ed] << endl;
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment