devices/res/resparam.c, bug fix, alter resistance not honoured when resuming a transient simulation

When "alter" is invoked after a break-point stopped a transient simulation,
then it might be necessary to update RESconductance
before continuing the transient simulation.

Thanks for the bug report to An Zou
in message "alter resistor value" on the ngspice-users forum
https://sourceforge.net/p/ngspice/discussion/133842/thread/33ce6855/
This commit is contained in:
rlar 2017-09-30 23:57:57 +02:00
parent 480a3f6be1
commit cffab98882
1 changed files with 1 additions and 0 deletions

View File

@ -85,5 +85,6 @@ RESparam(int param, IFvalue *value, GENinstance *inst, IFvalue *select)
default:
return(E_BADPARM);
}
RESupdate_conduct(here);
return(OK);
}