From a0c70a2cc7fdb164bb3697378cc7c21d6294035e Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Fri, 9 Jun 2023 23:31:39 +0200 Subject: [PATCH] Another small optimization of hierarchical processor, makes a small difference --- src/db/db/dbHierProcessor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db/db/dbHierProcessor.cc b/src/db/db/dbHierProcessor.cc index e65f14a3a..cf8bbfcb5 100644 --- a/src/db/db/dbHierProcessor.cc +++ b/src/db/db/dbHierProcessor.cc @@ -1278,7 +1278,7 @@ private: db::Box ibox2 = tn2 * cell2.bbox (m_intruder_layer).enlarged (db::Vector (m_dist, m_dist)); db::Box cbox = ibox1 & ibox2; - if (! cbox.empty () && cell1.has_shapes_touching (m_subject_layer, safe_box_enlarged (tni1 * cbox, -1, -1))) { + if (! cbox.empty () && (cbox == ibox1 || cell1.has_shapes_touching (m_subject_layer, safe_box_enlarged (tni1 * cbox, -1, -1)))) { db::ICplxTrans tn21 = tni1 * tn2;