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