diff options
author | Sunil Shetye | 2018-07-11 15:19:38 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-07-11 15:21:08 +0530 |
commit | 0047c3bea1d86b12a08544f6f0833c63e77f6eac (patch) | |
tree | 36fc72fa9e5ea73c64a44e061b2c9c80e0307884 /js/Branching/GOTOMO.js | |
parent | 079d0b4a3ec15a4d7d2644484d116df9d1c694bb (diff) | |
download | sci2js-0047c3bea1d86b12a08544f6f0833c63e77f6eac.tar.gz sci2js-0047c3bea1d86b12a08544f6f0833c63e77f6eac.tar.bz2 sci2js-0047c3bea1d86b12a08544f6f0833c63e77f6eac.zip |
support vector also
Diffstat (limited to 'js/Branching/GOTOMO.js')
-rw-r--r-- | js/Branching/GOTOMO.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/Branching/GOTOMO.js b/js/Branching/GOTOMO.js index 473bfd8c..e6ea2dd2 100644 --- a/js/Branching/GOTOMO.js +++ b/js/Branching/GOTOMO.js @@ -5,14 +5,14 @@ function GOTOMO() { this.model.sim = new ScilabString(["gotomo"]); this.model.in1 = new ScilabDouble([-1]); this.model.in2 = new ScilabDouble([-2]); - this.model.intyp = []; - this.model.out = []; - this.model.out2 = []; + this.model.intyp = new ScilabDouble([]); + this.model.out = new ScilabDouble([]); + this.model.out2 = new ScilabDouble([]); this.model.outtyp = new ScilabDouble([1]); this.model.ipar = new ScilabDouble([int(1)]); this.model.opar = list(new ScilabString(["A"])); this.model.blocktype = new ScilabString(["c"]); - this.model.dep_ut = [false,false]; + this.model.dep_ut = new ScilabDouble([false,false]); var mo = modelica(); mo.model = "gotomo"; mo.inputs = "p"; |