A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix warning introduced by previous commit
[simgrid.git]
/
src
/
surf
/
surf_routing_cluster_fat_tree.cpp
diff --git
a/src/surf/surf_routing_cluster_fat_tree.cpp
b/src/surf/surf_routing_cluster_fat_tree.cpp
index
99232af
..
1c541d5
100644
(file)
--- a/
src/surf/surf_routing_cluster_fat_tree.cpp
+++ b/
src/surf/surf_routing_cluster_fat_tree.cpp
@@
-30,6
+30,7
@@
bool AsClusterFatTree::isInSubTree(FatTreeNode *root, FatTreeNode *node) {
}
return true;
}
}
return true;
}
+
void AsClusterFatTree::getRouteAndLatency(RoutingEdgePtr src,
RoutingEdgePtr dst,
sg_platf_route_cbarg_t into,
void AsClusterFatTree::getRouteAndLatency(RoutingEdgePtr src,
RoutingEdgePtr dst,
sg_platf_route_cbarg_t into,
@@
-39,7
+40,7
@@
void AsClusterFatTree::getRouteAndLatency(RoutingEdgePtr src,
source = this->nodes.find(src->getId())->second;
destination = this->nodes.find(dst->getId())->second;
source = this->nodes.find(src->getId())->second;
destination = this->nodes.find(dst->getId())->second;
- int d
, k
; // as in d-mod-k
+ int d
= 0, k = 0
; // as in d-mod-k
currentNode = source;
currentNode = source;