Skip to content

Commit 2ed4497

Browse files
fix segfault in NoC cost report
1 parent b7bf7b5 commit 2ed4497

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vpr/src/place/noc_place_utils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -963,7 +963,7 @@ void print_noc_costs(std::string_view header, const t_placer_costs& costs, const
963963
"congestion_cost: %g, "
964964
"accum_congested_ratio: %g, "
965965
"n_congested_links: %d \n",
966-
header,
966+
header.data(),
967967
calculate_noc_cost(costs.noc_cost_terms, costs.noc_cost_norm_factors, noc_opts),
968968
costs.noc_cost_terms.aggregate_bandwidth,
969969
costs.noc_cost_terms.latency,

0 commit comments

Comments
 (0)