Fixed an error in the DRC rule optimization ("||" used instead of
"|"), pointed out by Jim Everitt. The error is pretty major, but because the section of code it affects is just eliminating unnecessary DRC rules, I believe that the only effect is that the DRC ruleset ends up using more memory than it needs to. But, good to have fixed.
This commit is contained in:
parent
08461c9384
commit
c776c82445
|
|
@ -3679,7 +3679,7 @@ drcTechFinalStyle(style)
|
||||||
|
|
||||||
for (dp = style->DRCRulesTbl[i][j]; dp != NULL; dp = dp->drcc_next)
|
for (dp = style->DRCRulesTbl[i][j]; dp != NULL; dp = dp->drcc_next)
|
||||||
{
|
{
|
||||||
if (dp->drcc_flags & (DRC_NONSTANDARD || DRC_OUTSIDE)) continue;
|
if (dp->drcc_flags & (DRC_NONSTANDARD | DRC_OUTSIDE)) continue;
|
||||||
if (dp->drcc_flags & DRC_REVERSE)
|
if (dp->drcc_flags & DRC_REVERSE)
|
||||||
{
|
{
|
||||||
if ((i == TT_SPACE) || TTMaskHasType(&dp->drcc_mask, i)) continue;
|
if ((i == TT_SPACE) || TTMaskHasType(&dp->drcc_mask, i)) continue;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue