diff options
Diffstat (limited to 'js/Electrical/MOTOR.js')
-rw-r--r-- | js/Electrical/MOTOR.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Electrical/MOTOR.js b/js/Electrical/MOTOR.js index f9fce6ce..952bb049 100644 --- a/js/Electrical/MOTOR.js +++ b/js/Electrical/MOTOR.js @@ -2,7 +2,7 @@ function MOTOR() { MOTOR.prototype.define = function MOTOR() { this.model = scicos_model(); - this.model.out = [[1],[1]]; + this.model.out = new ScilabDouble([1],[1]); this.model.in1 = [1]; this.model.sim = new ScilabString(["motor"]); this.model.blocktype = new ScilabString(["c"]); |