From 2a7724c1a430b52aa48f53406b79358e0d203310 Mon Sep 17 00:00:00 2001 From: mubarak Date: Wed, 19 Apr 2017 12:04:09 -0400 Subject: [PATCH] Fixing adaptive routing VC issue --- src/networks/model-net/dragonfly-custom.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/networks/model-net/dragonfly-custom.C b/src/networks/model-net/dragonfly-custom.C index c1e4732..9b06ca3 100644 --- a/src/networks/model-net/dragonfly-custom.C +++ b/src/networks/model-net/dragonfly-custom.C @@ -2839,8 +2839,8 @@ router_packet_receive( router_state * s, } else if (cur_chunk->msg.my_g_hop == 2) { if(routing == PROG_ADAPTIVE && cur_chunk->msg.my_l_hop < 6) { cur_chunk->msg.my_l_hop = 6; - } else if(cur_chunk->msg.my_l_hop < 8) { - cur_chunk->msg.my_l_hop = 8; + } else if(cur_chunk->msg.my_l_hop < 4) { + cur_chunk->msg.my_l_hop = 4; } } output_chan = cur_chunk->msg.my_l_hop; -- 2.26.2