fix commit "devices/asrc, introduce `ASRCvars' with the indices of the controlling nodes/branches"

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

View File

@ -62,7 +62,7 @@ ASRCsetup(SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt, int *states)
}
here->ASRCposptr = TMALLOC(double *, j);
here->ASRCvars = TMALLOC(int *, here->ASRCtree->numVars);
here->ASRCvars = TMALLOC(int, here->ASRCtree->numVars);
here->ASRCacValues = TMALLOC(double, here->ASRCtree->numVars + 1);
/* For each controlling variable set the entries