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.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Electrical/OpAmp.js b/js/Electrical/OpAmp.js
index 00935c08..630e5f77 100644
--- a/js/Electrical/OpAmp.js
+++ b/js/Electrical/OpAmp.js
@@ -47,7 +47,7 @@ function OpAmp() {
if (!ok) {
break;
}
- this.model.equations.parameters[('2', 'double')] = list(this.OLGain,this.SatH,this.SatL);
+ this.model.equations.parameters[2] = list(new ScilabDouble(this.OLGain),new ScilabDouble(this.SatH),new ScilabDouble(this.SatL));
graphics.exprs = exprs;
this.x.graphics = graphics;
this.x.model = this.model;