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
start initializing routing fields in the constructors, not with a shotgun
[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
5d9bc0c
..
d8410ef
100644
(file)
--- a/
src/surf/surf_routing_cluster_fat_tree.cpp
+++ b/
src/surf/surf_routing_cluster_fat_tree.cpp
@@
-21,7
+21,9
@@
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_route_fat_tree, surf, "Routing for fat tree
namespace simgrid {
namespace surf {
-AsClusterFatTree::AsClusterFatTree() : levels(0) {
+AsClusterFatTree::AsClusterFatTree(const char*name)
+ : AsCluster(name)
+{
XBT_DEBUG("Creating a new fat tree.");
}