resload.c: m already set in ressetup.c
This commit is contained in:
parent
c9d4ab1d13
commit
e4cfe0ffff
|
|
@ -58,9 +58,6 @@ RESacload(GENmodel *inModel, CKTcircuit *ckt)
|
||||||
for (here = model->RESinstances; here != NULL ;
|
for (here = model->RESinstances; here != NULL ;
|
||||||
here = here->RESnextInstance) {
|
here = here->RESnextInstance) {
|
||||||
|
|
||||||
if(!here->RESmGiven)
|
|
||||||
here->RESm = 1.0;
|
|
||||||
|
|
||||||
m = (here->RESm);
|
m = (here->RESm);
|
||||||
if(here->RESacresGiven) {
|
if(here->RESacresGiven) {
|
||||||
*(here->RESposPosptr) += m * here->RESacConduct;
|
*(here->RESposPosptr) += m * here->RESacConduct;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue