fix commit "devices/asrc, allocate `ASRCacValues' in ASRCsetup()"
This commit is contained in:
parent
ab5cd17044
commit
83a5c31e6f
|
|
@ -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 + 1);
|
||||
|
||||
/* For each controlling variable set the entries
|
||||
in the vector of the positions of the SMP */
|
||||
|
|
|
|||
Loading…
Reference in New Issue