Browse Source

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

pre-master-46
rlar 11 years ago
parent
commit
83a5c31e6f
  1. 2
      src/spicelib/devices/asrc/asrcset.c

2
src/spicelib/devices/asrc/asrcset.c

@ -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…
Cancel
Save