Skip to content

Commit 428c29e

Browse files
committed
grt: skip FastRoute clear() on the CUGR path
Signed-off-by: Eder Monteiro <emrmonteiro@precisioninno.com>
1 parent 4a41b5f commit 428c29e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/grt/src/GlobalRouter.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,9 @@ void GlobalRouter::clear()
155155
routing_tracks_.clear();
156156
routing_layers_.clear();
157157
grid_->clear();
158-
fastroute_->clear();
158+
if (!use_cugr_) {
159+
fastroute_->clear();
160+
}
159161
vertical_capacities_.clear();
160162
horizontal_capacities_.clear();
161163
initialized_ = false;

0 commit comments

Comments
 (0)