add missing tc1 and tc2 parameter entries in ask function
This commit is contained in:
parent
5d2fd1ece0
commit
bdf3dced00
|
|
@ -51,6 +51,12 @@ CAPask(CKTcircuit *ckt, GENinstance *inst, int which, IFvalue *value,
|
|||
case CAP_M:
|
||||
value->rValue = here->CAPm;
|
||||
return(OK);
|
||||
case CAP_TC1:
|
||||
value->rValue = here->CAPtc1;
|
||||
return(OK);
|
||||
case CAP_TC2:
|
||||
value->rValue = here->CAPtc2;
|
||||
return(OK);
|
||||
case CAP_CURRENT:
|
||||
if (ckt->CKTcurrentAnalysis & DOING_AC) {
|
||||
errMsg = TMALLOC(char, strlen(msg) + 1);
|
||||
|
|
|
|||
|
|
@ -45,6 +45,12 @@ INDask(CKTcircuit *ckt, GENinstance *inst, int which, IFvalue *value,
|
|||
case IND_M:
|
||||
value->rValue = here->INDm;
|
||||
return(OK);
|
||||
case IND_TC1:
|
||||
value->rValue = here->INDtc1;
|
||||
return(OK);
|
||||
case IND_TC2:
|
||||
value->rValue = here->INDtc2;
|
||||
return(OK);
|
||||
case IND_SCALE:
|
||||
value->rValue = here->INDscale;
|
||||
return(OK);
|
||||
|
|
|
|||
Loading…
Reference in New Issue