From: Augustin Degomme Date: Mon, 18 Aug 2014 13:04:28 +0000 (+0200) Subject: Loopback was not correctly used in fat tree clusters. X-Git-Tag: v3_12~850^2~14 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/021561ce64cbdf64f2fadb1cf0d16b0cd1307963?ds=sidebyside Loopback was not correctly used in fat tree clusters. --- diff --git a/src/surf/surf_routing_cluster_fat_tree.cpp b/src/surf/surf_routing_cluster_fat_tree.cpp index 2e636fc2ef..2421ea5496 100644 --- a/src/surf/surf_routing_cluster_fat_tree.cpp +++ b/src/surf/surf_routing_cluster_fat_tree.cpp @@ -85,6 +85,7 @@ if (dst->getRcType() == SURF_NETWORK_ELEMENT_ROUTER || src->getRcType() == SURF_ if(latency) { *latency += source->loopback->getLatency(); } + return; } currentNode = source;