diff --git a/src/include/ngspice/devdefs.h b/src/include/ngspice/devdefs.h index be06f961d..bf657e998 100644 --- a/src/include/ngspice/devdefs.h +++ b/src/include/ngspice/devdefs.h @@ -160,6 +160,7 @@ extern int DEVmaxnum; /* size of DEVices array */ # define IOPXU(a,b,c,d) { a, b, c|IF_SET|IF_ASK|IF_NONSENSE|IF_UNINTERESTING,\ d } # define IOPQ(a,b,c,d) { a, b, c|IF_SET|IF_ASK|IF_SETQUERY, d } +# define IOPQR(a,b,c,d) { a, b, c|IF_SET|IF_ASK|IF_SETQUERY|IF_REDUNDANT, d } # define IOPQU(a,b,c,d) { a, b, c|IF_SET|IF_ASK|IF_SETQUERY|IF_UNINTERESTING,\ d } # define IOPZ(a,b,c,d) { a, b, c|IF_SET|IF_ASK|IF_CHKQUERY, d } diff --git a/src/spicelib/devices/res/res.c b/src/spicelib/devices/res/res.c index 608eebe28..b6a84714d 100644 --- a/src/spicelib/devices/res/res.c +++ b/src/spicelib/devices/res/res.c @@ -49,7 +49,7 @@ IFparm RESmPTable[] = { /* model parameters */ IOPZ( "short", RES_MOD_SHORT, IF_REAL,"Shortening of resistor"), IOPZR( "dlr", RES_MOD_SHORT, IF_REAL,"Shortening of resistor"), IOPQ( "tc1", RES_MOD_TC1, IF_REAL,"First order temp. coefficient"), - IOPR( "tc1r", RES_MOD_TC1, IF_REAL,"First order temp. coefficient"), + IOPQR( "tc1r", RES_MOD_TC1, IF_REAL,"First order temp. coefficient"), IOPQO( "tc2", RES_MOD_TC2, IF_REAL,"Second order temp. coefficient"), IOPR( "tc2r", RES_MOD_TC2, IF_REAL,"Second order temp. coefficient"), IOPQ( "tce", RES_MOD_TCE, IF_REAL,"exponential temp. coefficient"),