Commit 9246469e authored by Misbah Mubarak's avatar Misbah Mubarak

Removing the bias for minimal routing

parent 8069dde8
...@@ -2436,7 +2436,8 @@ static void do_local_adaptive_routing(router_state * s, ...@@ -2436,7 +2436,8 @@ static void do_local_adaptive_routing(router_state * s,
int local_stop = -1; int local_stop = -1;
tw_lpid global_stop; tw_lpid global_stop;
if(nonmin_port_count * num_intra_nonmin_hops > min_port_count * num_intra_min_hops) // if(nonmin_port_count * num_intra_nonmin_hops > min_port_count * num_intra_min_hops)
if(nonmin_port_count > min_port_count)
{ {
msg->path_type = MINIMAL; msg->path_type = MINIMAL;
} }
......
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