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 012f2595..b95e8505 100644 --- a/js/Electrical/CurrentSensor.js +++ b/js/Electrical/CurrentSensor.js @@ -3,7 +3,7 @@ function CurrentSensor() { CurrentSensor.prototype.define = function CurrentSensor() { this.model = scicos_model(); this.model.in1 = new ScilabDouble([1]); - this.model.out = [[1],[1]]; + this.model.out = new ScilabDouble([1],[1]); this.model.sim = new ScilabString(["CurrentSensor"]); this.model.blocktype = new ScilabString(["c"]); this.model.dep_ut = [true,false]; |