parent
4111aaf110
commit
4cc63494db
|
|
@ -47,17 +47,17 @@ MUTsetup(SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt, int *states)
|
|||
here->MUTind1 = (INDinstance *) CKTfndDev(ckt, here->MUTindName1);
|
||||
if (!here->MUTind1) {
|
||||
SPfrontEnd->IFerrorf (ERR_FATAL,
|
||||
"%s: coupling to non-existant inductor %s.",
|
||||
"%s: coupling to non-existent inductor %s.",
|
||||
here->MUTname, here->MUTindName1);
|
||||
return(E_INTERN); /* We have to leave, or TSTALLOC will segfault */
|
||||
return(E_NOTFOUND); /* We have to leave, or TSTALLOC will segfault */
|
||||
}
|
||||
if (!here->MUTind2)
|
||||
here->MUTind2 = (INDinstance *) CKTfndDev(ckt, here->MUTindName2);
|
||||
if (!here->MUTind2) {
|
||||
SPfrontEnd->IFerrorf (ERR_FATAL,
|
||||
"%s: coupling to non-existant inductor %s.",
|
||||
"%s: coupling to non-existent inductor %s.",
|
||||
here->MUTname, here->MUTindName2);
|
||||
return(E_INTERN);
|
||||
return(E_NOTFOUND);
|
||||
}
|
||||
|
||||
TSTALLOC(MUTbr1br2Ptr, MUTind1->INDbrEq, MUTind2->INDbrEq);
|
||||
|
|
|
|||
Loading…
Reference in New Issue