diff options
author | Sunil Shetye | 2018-07-11 10:44:34 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-07-11 15:21:08 +0530 |
commit | aabd535925f24c6203eb1a0dcc5b28d9670133de (patch) | |
tree | 73c1021fb17dfdf86f088d930311a007cb3f2120 /js/Electrical/MOTOR.js | |
parent | dc097af448d4ed55d685c5e87c8cffb70b7fb20a (diff) | |
download | sci2js-aabd535925f24c6203eb1a0dcc5b28d9670133de.tar.gz sci2js-aabd535925f24c6203eb1a0dcc5b28d9670133de.tar.bz2 sci2js-aabd535925f24c6203eb1a0dcc5b28d9670133de.zip |
show type for matrix also
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"]); |