Fix bug 637
Prevent crash when external current source is used.
This commit is contained in:
parent
90d8f7f34f
commit
b0f2ab8764
|
|
@ -42,7 +42,9 @@ ISRCtemp(GENmodel *inModel, CKTcircuit *ckt)
|
||||||
here->ISRCname);
|
here->ISRCname);
|
||||||
}
|
}
|
||||||
else if (here->ISRCdcGiven && here->ISRCfuncTGiven
|
else if (here->ISRCdcGiven && here->ISRCfuncTGiven
|
||||||
&& here->ISRCfunctionType != TRNOISE && here->ISRCfunctionType != TRRANDOM) {
|
&& here->ISRCfunctionType != TRNOISE
|
||||||
|
&& here->ISRCfunctionType != TRRANDOM
|
||||||
|
&& here->ISRCfunctionType != EXTERNAL) {
|
||||||
/* DC value and transient time 0 values given */
|
/* DC value and transient time 0 values given */
|
||||||
double time0value;
|
double time0value;
|
||||||
/* determine transient time 0 value */
|
/* determine transient time 0 value */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue