Skip to content

Commit 88b8630

Browse files
committed
Merge branch 'tapcell' of github.com:braydenlouie/OpenROAD into tapcell
2 parents fea57c3 + ad77d46 commit 88b8630

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/ram/src/layout.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,8 @@ void Cell::addInst(dbInst* inst)
3434

3535
void Cell::cellInit()
3636
{
37-
if (width_ > 0 || height_ > 0) {
38-
width_ = 0;
39-
height_ = 0;
40-
}
37+
width_ = 0;
38+
height_ = 0;
4139
for (auto& inst : insts_) {
4240
Rect inst_box = inst->getBBox()->getBox();
4341
width_ += inst_box.dx();

0 commit comments

Comments
 (0)