diff options
Diffstat (limited to 'js/Electrical/Ground.js')
-rw-r--r-- | js/Electrical/Ground.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Electrical/Ground.js b/js/Electrical/Ground.js index 6674fde9..6e22af8e 100644 --- a/js/Electrical/Ground.js +++ b/js/Electrical/Ground.js @@ -13,7 +13,7 @@ function Ground() { this.model.equations = new ScilabDouble([mo]); this.exprs = ""; this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"Ground\",sz(1),sz(2));"]); - this.x = new standard_define(new ScilabDouble([1,1]),this.model,this.exprs,list(this.gr_i,0)); + this.x = new standard_define(new ScilabDouble([1,1]),this.model,new ScilabString([this.exprs]),list(this.gr_i,0)); this.x.graphics.in_implicit = ["I"]; this.x.graphics.out_implicit = ["I"]; return new GroundBlock(this.x); |