- if (communicationAmount_ != nullptr) {
- for (size_t i = 0; i < host_count; i++) {
- for (size_t j = 0; j < host_count; j++) {
- if (communicationAmount_[i * host_count + j] > 0) {
- double lat = 0.0;
- std::vector<LinkImpl*> route;
- hostList_.at(i)->route_to(hostList_.at(j), route, &lat);
+ for (size_t i = 0; i < host_count; i++) {
+ for (size_t j = 0; j < host_count; j++) {
+ if (communication_amount_[i * host_count + j] > 0) {
+ double lat = 0.0;
+ std::vector<StandardLinkImpl*> route;
+ host_list_.at(i)->route_to(host_list_.at(j), route, &lat);