diff options
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"; |