summaryrefslogtreecommitdiff
path: root/js/Electrical/OpAmp.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Electrical/OpAmp.js')
-rw-r--r--js/Electrical/OpAmp.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Electrical/OpAmp.js b/js/Electrical/OpAmp.js
index 4123f4f8..44526b9a 100644
--- a/js/Electrical/OpAmp.js
+++ b/js/Electrical/OpAmp.js
@@ -34,11 +34,11 @@ function OpAmp() {
exprs = graphics.exprs;
model = arg1.model;
while (false) {
- [ok,OLGain,SatH,SatL,exprs] = scicos_getvalue("Set the Operational Amplifier parameters",[["Open Loop Gain"],["Positive saturation voltage"],["Negative saturation voltage"]],list("vec",1,"vec",1,"vec",1),exprs);
+ [ok,this.OLGain,this.SatH,this.SatL,exprs] = scicos_getvalue("Set the Operational Amplifier parameters",[["Open Loop Gain"],["Positive saturation voltage"],["Negative saturation voltage"]],list("vec",1,"vec",1,"vec",1),exprs);
if (!ok) {
break;
}
- model.equations.parameters[2-1] = list(OLGain,SatH,SatL);
+ model.equations.parameters[2-1] = list(this.OLGain,this.SatH,this.SatL);
graphics.exprs = exprs;
this.x.graphics = graphics;
this.x.model = model;