diff options
Diffstat (limited to 'src/mem/ruby/network/Topology.cc')
-rw-r--r-- | src/mem/ruby/network/Topology.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/ruby/network/Topology.cc b/src/mem/ruby/network/Topology.cc index e80b76d81..58114d147 100644 --- a/src/mem/ruby/network/Topology.cc +++ b/src/mem/ruby/network/Topology.cc @@ -61,7 +61,7 @@ NetDest shortest_path_to_node(SwitchID src, SwitchID next, Topology::Topology(const Params *p) : SimObject(p) { - m_number_of_switches = p->routers.size(); + m_number_of_switches = p->num_routers; // initialize component latencies record m_component_latencies.resize(0); |