remove const declaration to make ASRCsetup compatible with .DEVsetup

This commit is contained in:
Holger Vogt 2020-04-23 13:55:40 +02:00
parent 050cea146e
commit 814cadf36c
2 changed files with 2 additions and 2 deletions

View File

@ -12,6 +12,6 @@ extern int ASRCload(GENmodel *, CKTcircuit *);
extern int ASRCparam(int, IFvalue *, GENinstance *, IFvalue *);
extern int ASRCpzLoad(GENmodel *, CKTcircuit *, SPcomplex *);
extern int ASRCacLoad(GENmodel *, CKTcircuit *);
extern int ASRCsetup(SMPmatrix *, GENmodel *, CKTcircuit *, const int *);
extern int ASRCsetup(SMPmatrix *, GENmodel *, CKTcircuit *, int *);
extern int ASRCunsetup(GENmodel *, CKTcircuit *);
extern int ASRCtemp(GENmodel *, CKTcircuit *);

View File

@ -22,7 +22,7 @@ Author: 1987 Kanwar Jit Singh
*/
int ASRCsetup(SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt,
const int *states)
int *states)
{
ASRCinstance *here;
ASRCmodel *model = (ASRCmodel*) inModel;