From b4c7176c52117b04bac158048fc18bac7f525919 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sun, 24 Mar 2024 22:45:58 +0100 Subject: [PATCH] Bug fixing --- src/db/db/dbRecursiveShapeIterator.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/db/db/dbRecursiveShapeIterator.cc b/src/db/db/dbRecursiveShapeIterator.cc index 33f6c0448..7fe8b99ed 100644 --- a/src/db/db/dbRecursiveShapeIterator.cc +++ b/src/db/db/dbRecursiveShapeIterator.cc @@ -967,9 +967,9 @@ RecursiveShapeIterator::new_cell (RecursiveShapeReceiver *receiver) const // NOTE: because we use "touching" for the instances below, we region_type new_complex_region; if (region == box_type::world ()) { - new_complex_region = region_type (cell ()->bbox ()) - shapes_region; + new_complex_region = region_type (cell ()->bbox (l)) - shapes_region; } else { - new_complex_region = region_type (cell ()->bbox () & region.enlarged (bias)) - shapes_region; + new_complex_region = region_type (cell ()->bbox (l) & region.enlarged (bias)) - shapes_region; } // TODO: the current implementation does not touch the complex search region