Fix for "show" command, when run before any analysis.
This commit is contained in:
parent
fc1ac2dfa4
commit
0abca45825
|
|
@ -26,6 +26,10 @@ RESparam(int param, IFvalue *value, GENinstance *inst, IFvalue *select)
|
|||
break;
|
||||
case RES_RESIST:
|
||||
here->RESresist = value->rValue;
|
||||
if (!here->RESmGiven)
|
||||
here->RESm = 1.0;
|
||||
if (!here->RESacresGiven)
|
||||
here->RESacResist = value->rValue;
|
||||
here->RESresGiven = TRUE;
|
||||
break;
|
||||
case RES_ACRESIST:
|
||||
|
|
|
|||
Loading…
Reference in New Issue