Skip to content

Commit

Permalink
Internal Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 595323534
  • Loading branch information
XLS Team authored and copybara-github committed Jan 3, 2024
1 parent 3578509 commit 94c0c3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xls/noc/simulation/global_routing_table.cc
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ DistributedRoutingTable::ComputeRoute(NetworkComponentId source,
if (route.size() > max_hops) {
std::stringstream route_error_msg;
route_error_msg << "Network components in the route thus far are:"
<< std::endl;
<< '\n';
for (const NetworkComponentId nc_id : route) {
XLS_ASSIGN_OR_RETURN(
NetworkComponentParam nc_param,
Expand All @@ -100,7 +100,7 @@ DistributedRoutingTable::ComputeRoute(NetworkComponentId source,
} else if (std::holds_alternative<LinkParam>(nc_param)) {
name = std::get<LinkParam>(nc_param).GetName();
}
route_error_msg << name << std::endl;
route_error_msg << name << '\n';
}
return absl::InternalError(absl::StrFormat(
"Route from source %x to sink %x exceeded max hops %d. %s",
Expand Down

0 comments on commit 94c0c3f

Please sign in to comment.