devices/asrc, drop an unused slot in `ASRCacValues' which stored the rhs
This commit is contained in:
parent
39fdeb0c9a
commit
39cfa283c0
|
|
@ -99,10 +99,6 @@ ASRCload(GENmodel *inModel, CKTcircuit *ckt)
|
|||
ckt->CKTrhs[here->ASRCposNode] -= factor * rhs;
|
||||
ckt->CKTrhs[here->ASRCnegNode] += factor * rhs;
|
||||
}
|
||||
|
||||
/* Store the rhs for small signal analysis */
|
||||
if (ckt->CKTmode & MODEINITSMSIG)
|
||||
here->ASRCacValues[here->ASRCtree->numVars] = factor * rhs;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ ASRCsetup(SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt, int *states)
|
|||
|
||||
here->ASRCposptr = TMALLOC(double *, j);
|
||||
here->ASRCvars = TMALLOC(int, here->ASRCtree->numVars);
|
||||
here->ASRCacValues = TMALLOC(double, here->ASRCtree->numVars + 1);
|
||||
here->ASRCacValues = TMALLOC(double, here->ASRCtree->numVars);
|
||||
|
||||
/* For each controlling variable set the entries
|
||||
in the vector of the positions of the SMP */
|
||||
|
|
|
|||
Loading…
Reference in New Issue