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 2c94c087..50163380 100644 --- a/js/Electrical/Ground.js +++ b/js/Electrical/Ground.js @@ -12,7 +12,7 @@ function Ground() { mo.inputs = "p"; this.model.equations = new ScilabDouble([mo]); var exprs = ""; - var gr_i = []; + var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"Ground\",sz(1),sz(2));"]); this.x = standard_define([1,1],this.model,exprs,list(gr_i,0)); this.x.graphics.in_implicit = ["I"]; this.x.graphics.out_implicit = ["I"]; |