mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-08-22 05:47:42 +02:00
remove unused
This commit is contained in:
@@ -158,7 +158,6 @@ static struct func {
|
|||||||
{ "floor", PTF_FLOOR, (void(*)(void)) PTfloor } ,
|
{ "floor", PTF_FLOOR, (void(*)(void)) PTfloor } ,
|
||||||
{ "nint", PTF_NINT, (void(*)(void)) PTnint } ,
|
{ "nint", PTF_NINT, (void(*)(void)) PTnint } ,
|
||||||
{ "-", PTF_UMINUS, (void(*)(void)) PTuminus },
|
{ "-", PTF_UMINUS, (void(*)(void)) PTuminus },
|
||||||
/* MW. cif function added */
|
|
||||||
{ "u2", PTF_USTEP2, (void(*)(void)) PTustep2},
|
{ "u2", PTF_USTEP2, (void(*)(void)) PTustep2},
|
||||||
{ "pwl", PTF_PWL, (void(*)(void)) PTpwl},
|
{ "pwl", PTF_PWL, (void(*)(void)) PTpwl},
|
||||||
{ "pwl_derivative", PTF_PWL_DERIVATIVE, (void(*)(void)) PTpwl_derivative},
|
{ "pwl_derivative", PTF_PWL_DERIVATIVE, (void(*)(void)) PTpwl_derivative},
|
||||||
@@ -545,8 +544,6 @@ static INPparseNode *PTdifferentiate(INPparseNode * p, int varnum)
|
|||||||
arg1 = mkcon(0.0);
|
arg1 = mkcon(0.0);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
||||||
/* MW. PTF_CIF for new cif function */
|
|
||||||
case PTF_USTEP2: /* ustep2=uramp(x)-uramp(x-1) ustep2'=ustep(x)-ustep(x-1) */
|
case PTF_USTEP2: /* ustep2=uramp(x)-uramp(x-1) ustep2'=ustep(x)-ustep(x-1) */
|
||||||
arg1 = mkb(PT_MINUS,
|
arg1 = mkb(PT_MINUS,
|
||||||
mkf(PTF_USTEP, p->left),
|
mkf(PTF_USTEP, p->left),
|
||||||
|
|||||||
Reference in New Issue
Block a user