Skip to content

Commit

Permalink
Fix Cell::remap_tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitris Tzikas authored and heitzmann committed Apr 18, 2024
1 parent d10b475 commit 8d4124a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -603,13 +603,13 @@ void Cell::remap_tags(const TagMap& map) {
}
for (uint64_t i = 0; i < flexpath_array.count; i++) {
FlexPath* path = flexpath_array[i];
for (uint64_t j = 0; i < path->num_elements; j++) {
for (uint64_t j = 0; j < path->num_elements; j++) {
path->elements[j].tag = map.get(path->elements[j].tag);
}
}
for (uint64_t i = 0; i < robustpath_array.count; i++) {
RobustPath* path = robustpath_array[i];
for (uint64_t j = 0; i < path->num_elements; j++) {
for (uint64_t j = 0; j < path->num_elements; j++) {
path->elements[j].tag = map.get(path->elements[j].tag);
}
}
Expand Down

0 comments on commit 8d4124a

Please sign in to comment.