Shortcutting evalute_nets if there is nothing to do.

This commit is contained in:
Matthias Koefferlein 2026-01-04 17:10:08 +01:00
parent 60a5dc1b8a
commit c50b56f868
1 changed files with 5 additions and 1 deletions

View File

@ -1831,7 +1831,11 @@ LayoutToNetlist::get_shapes_of_net (db::cell_index_type ci, size_t cid, const st
}
}
if (npoly >= max_polygons) {
if (n == 0) {
// nothing to do ...
} else if (npoly >= max_polygons) {
db::Box bbox;