Corrected an error that had previously been corrected in
PropertyMatch() but not corrected symmetrically between circuit1 and circuit2; this left the possibility that "M=1" in one circuit vs. no "M" entry in the other would still pop up as a property error, depending on which circuit (layout or schematic) was listed first.
This commit is contained in:
parent
035fef5c72
commit
3d180f778d
|
|
@ -6211,7 +6211,9 @@ PropertyMatch(struct Element *E1, struct Element *E2,
|
||||||
if (kl1 != NULL)
|
if (kl1 != NULL)
|
||||||
break; // Property is required
|
break; // Property is required
|
||||||
}
|
}
|
||||||
else if (vl1->value.ival != 1)
|
else if ((vl1->type == PROP_INTEGER) && (vl1->value.ival != 1))
|
||||||
|
break; // Property M != 1 or S != 1 is a mismatch.
|
||||||
|
else if ((vl1->type == PROP_DOUBLE) && (vl1->value.dval != 1))
|
||||||
break; // Property M != 1 or S != 1 is a mismatch.
|
break; // Property M != 1 or S != 1 is a mismatch.
|
||||||
}
|
}
|
||||||
if (vl1->type != PROP_ENDLIST) {
|
if (vl1->type != PROP_ENDLIST) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue