Browse Source

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/
pre-master-46
rlar 9 years ago
parent
commit
cffab98882
  1. 1
      src/spicelib/devices/res/resparam.c

1
src/spicelib/devices/res/resparam.c

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