Skip to content

Commit

Permalink
extra check
Browse files Browse the repository at this point in the history
  • Loading branch information
rmanohar committed Aug 1, 2022
1 parent 0d96329 commit f87d6f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tech/techgen.cc
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@ void emit_drc (pp_t *pp)
spc = Technology::T->diff[j][i]->getViaFet() -
(Technology::T->diff[j][i]->getUpC()->minWidth()-
Technology::T->diff[j][i]->getUpC()->getSym()+1)/2;
if (spc == 0) {
if (spc <= 0) {
spc = 1;
}

Expand Down

0 comments on commit f87d6f7

Please sign in to comment.