From f7f25879f06d7e827ea297a85fb47f643e879748 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Mon, 17 Jun 2024 21:55:35 +0200 Subject: [PATCH] Preserving layer indexes to preserve LVS DB format (note to myself: finally create a real compare tool for the latter) --- src/db/db/dbDeepRegion.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/db/db/dbDeepRegion.cc b/src/db/db/dbDeepRegion.cc index 27a6f97b2..8001acb73 100644 --- a/src/db/db/dbDeepRegion.cc +++ b/src/db/db/dbDeepRegion.cc @@ -911,6 +911,7 @@ DeepRegion::and_with_impl (const DeepRegion *other, db::PropertyConstraint prope DeepLayer DeepRegion::not_with_impl (const DeepRegion *other, db::PropertyConstraint property_constraint) const { + DeepLayer dl_out (deep_layer ().derived ()); DeepLayer dl_prep; // first run a local-only task, which is trivial if the layouts are the same @@ -981,8 +982,6 @@ DeepRegion::not_with_impl (const DeepRegion *other, db::PropertyConstraint prope dl_prep = deep_layer (); } - DeepLayer dl_out (deep_layer ().derived ()); - if (pc_skip (property_constraint)) { db::BoolAndOrNotLocalOperation op (false);