WIP: bugfix in case of clip variants.

This commit is contained in:
Matthias Koefferlein 2019-11-05 01:10:29 +01:00
parent 51676376e6
commit 895206dfa1
1 changed files with 3 additions and 1 deletions

View File

@ -920,7 +920,7 @@ DeepShapeStore::cell_mapping_to_original (unsigned int layout_index, db::Layout
// create from them. We need to consider however, that the hierarchy builder is allowed to create
// variants which we cannot map.
for (HierarchyBuilder::cell_map_type::const_iterator m = original_builder.begin_cell_map (); m != original_builder.end_cell_map (); ++m) {
for (HierarchyBuilder::cell_map_type::const_iterator m = original_builder.begin_cell_map (); m != original_builder.end_cell_map (); ) {
HierarchyBuilder::cell_map_type::const_iterator mm = m;
++mm;
@ -940,6 +940,8 @@ DeepShapeStore::cell_mapping_to_original (unsigned int layout_index, db::Layout
}
}
m = mm;
}
} else if (into_layout->cells () == 1) {