diff options
Diffstat (limited to 'js/Electrical/OpAmp.js')
-rw-r--r-- | js/Electrical/OpAmp.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Electrical/OpAmp.js b/js/Electrical/OpAmp.js index 56a1e584..00bbdc6a 100644 --- a/js/Electrical/OpAmp.js +++ b/js/Electrical/OpAmp.js @@ -18,7 +18,7 @@ function OpAmp() { this.model.rpar = new ScilabDouble(Z); this.exprs = string(Z); this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"OpAmp\",sz(1),sz(2));"]); - this.x = standard_define([3,5],this.model,this.exprs,this.gr_i); + this.x = new standard_define(new ScilabDouble([3,5]),this.model,this.exprs,this.gr_i); this.x.graphics.in_implicit = [["I"],["I"]]; this.x.graphics.out_implicit = ["I"]; return new BasicBlock(this.x); |