diff options
Diffstat (limited to 'js/Electrical/SineVoltage.js')
-rw-r--r-- | js/Electrical/SineVoltage.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Electrical/SineVoltage.js b/js/Electrical/SineVoltage.js index 87b6e622..f4c18f51 100644 --- a/js/Electrical/SineVoltage.js +++ b/js/Electrical/SineVoltage.js @@ -21,7 +21,7 @@ function SineVoltage() { this.model.equations = new ScilabDouble([mo]); this.exprs = [[string(this.V)],[string(this.ph)],[string(this.frq)],[string(this.offset)],[string(this.start)]]; this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"SineVoltage\",sz(1),sz(2));"]); - this.x = new standard_define(new ScilabDouble([2,2]),this.model,this.exprs,this.gr_i); + this.x = new standard_define(new ScilabDouble([2,2]),this.model,new ScilabDouble(this.exprs),this.gr_i); this.x.graphics.in_implicit = ["I"]; this.x.graphics.out_implicit = ["I"]; return new BasicBlock(this.x); |