add missing tc1 and tc2 parameter entries in ask function

This commit is contained in:
dwarning 2013-11-02 21:22:40 +01:00 committed by rlar
parent 5d2fd1ece0
commit bdf3dced00
2 changed files with 12 additions and 0 deletions

View File

@ -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);

View File

@ -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);