Fix for show command when issued before any analysis.
This commit is contained in:
parent
0abca45825
commit
db426c24b1
|
|
@ -21,6 +21,8 @@ CAPparam(int param, IFvalue *value, GENinstance *inst, IFvalue *select)
|
|||
switch(param) {
|
||||
case CAP_CAP:
|
||||
here->CAPcapac = value->rValue;
|
||||
if (!here->CAPmGiven)
|
||||
here->CAPm = 1.0;
|
||||
here->CAPcapGiven = TRUE;
|
||||
break;
|
||||
case CAP_IC:
|
||||
|
|
|
|||
|
|
@ -20,6 +20,8 @@ INDparam(int param, IFvalue *value, GENinstance *inst, IFvalue *select)
|
|||
switch(param) {
|
||||
case IND_IND:
|
||||
here->INDinduct = value->rValue;
|
||||
if (!here->INDmGiven)
|
||||
here->INDm =1.0;
|
||||
here->INDindGiven = TRUE;
|
||||
break;
|
||||
case IND_TEMP:
|
||||
|
|
|
|||
Loading…
Reference in New Issue