We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 837d2f9 commit f931302Copy full SHA for f931302
vpr/src/route/segment_stats.cpp
@@ -39,15 +39,14 @@ void get_segment_usage_stats(std::vector<t_segment_inf>& segment_inf) {
39
{Y_AXIS, std::map<int, int>()}};
40
41
std::set<int, std::less<int>> segment_lengths;
42
- for (const auto& seg_inf: segment_inf) {
+ for (const auto& seg_inf : segment_inf) {
43
int seg_length = seg_inf.longline ? LONGLINE : seg_inf.length;
44
45
for (auto ax : {X_AXIS, Y_AXIS}) {
46
directed_cap_by_length[ax].insert({seg_length, 0});
47
directed_occ_by_length[ax].insert({seg_length, 0});
48
}
49
50
-
51
segment_lengths.insert(seg_length);
52
53
max_segment_name_length = std::max(max_segment_name_length, static_cast<int>(seg_inf.name.size()));
0 commit comments