diff options
Diffstat (limited to 'js/Electrical/CurrentSensor.js')
-rw-r--r-- | js/Electrical/CurrentSensor.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Electrical/CurrentSensor.js b/js/Electrical/CurrentSensor.js index 9ca08d67..e055927e 100644 --- a/js/Electrical/CurrentSensor.js +++ b/js/Electrical/CurrentSensor.js @@ -13,7 +13,7 @@ function CurrentSensor() { mo.outputs = [["n"],["i"]]; this.model.equations = new ScilabDouble([mo]); var exprs = []; - var gr_i = []; + var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"CurrentSensor\",sz(1),sz(2));"]); this.x = standard_define([2,2],this.model,exprs,list(gr_i,0)); this.x.graphics.in_implicit = ["I"]; this.x.graphics.out_implicit = [["I"],["E"]]; |