fix commit "devices/asrc, allocate `ASRCacValues' in ASRCsetup()"

This commit is contained in:
rlar 2015-04-24 21:45:29 +02:00
parent ab5cd17044
commit 83a5c31e6f
1 changed files with 1 additions and 1 deletions

View File

@ -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 */