From c3f851750c3ce0397e1731b03a154934d7b0537b Mon Sep 17 00:00:00 2001 From: rlar Date: Fri, 24 Apr 2015 21:45:54 +0200 Subject: [PATCH] fix commit "devices/asrc, introduce `ASRCvars' with the indices of the controlling nodes/branches" --- src/spicelib/devices/asrc/asrcset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spicelib/devices/asrc/asrcset.c b/src/spicelib/devices/asrc/asrcset.c index 309629860..8ff3b122b 100644 --- a/src/spicelib/devices/asrc/asrcset.c +++ b/src/spicelib/devices/asrc/asrcset.c @@ -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