Corrected another error in the serial combination in which the
attempt to resolve values by combining over serial chains was attempting to access a property "S" in the component's master record, which generally won't exist unless it has been explicitly set in the netlist (which is unlikely since "S" is not a standard SPICE/CDL parameter like "M").
This commit is contained in:
parent
e15620257c
commit
95bce5dbd6
|
|
@ -3780,13 +3780,15 @@ void serial_sort(struct objlist *ob1, struct nlist *tp1, int idx1, int run)
|
|||
if (vl->key == NULL) continue;
|
||||
if (!strcmp(vl->key, "S"))
|
||||
sval = vl->value.ival;
|
||||
else {
|
||||
kl = (struct property *)HashLookup(vl->key, &(tp1->propdict));
|
||||
if (kl->merge == MERGE_SER_CRIT)
|
||||
if (kl && (kl->merge == MERGE_SER_CRIT))
|
||||
if (vl->type == PROP_INTEGER)
|
||||
cval = (double)vl->value.ival;
|
||||
else
|
||||
cval = vl->value.dval;
|
||||
}
|
||||
}
|
||||
proplist[i].value = (double)sval * cval;
|
||||
proplist[i].idx = i;
|
||||
proplist[i].ob = obp;
|
||||
|
|
|
|||
Loading…
Reference in New Issue