diff options
Diffstat (limited to 'js/Branching/FROM.js')
-rw-r--r-- | js/Branching/FROM.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/Branching/FROM.js b/js/Branching/FROM.js index edb2d8b7..42b351a1 100644 --- a/js/Branching/FROM.js +++ b/js/Branching/FROM.js @@ -3,16 +3,16 @@ function FROM() { FROM.prototype.define = function FROM() { this.model = scicos_model(); this.model.sim = new ScilabString(["from"]); - this.model.in1 = []; - this.model.in2 = []; + this.model.in1 = new ScilabDouble([]); + this.model.in2 = new ScilabDouble([]); this.model.intyp = new ScilabDouble([1]); this.model.out = new ScilabDouble([-1]); this.model.out2 = new ScilabDouble([-2]); this.model.outtyp = new ScilabDouble([-1]); - this.model.ipar = []; + this.model.ipar = new ScilabDouble([]); 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 exprs = ["A"]; var gr_i = []; this.x = standard_define([2,1],this.model,exprs,gr_i); |