diff options
Diffstat (limited to 'js/Branching/SELECT_f.js')
-rw-r--r-- | js/Branching/SELECT_f.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Branching/SELECT_f.js b/js/Branching/SELECT_f.js index bf3a26de..a5527aa8 100644 --- a/js/Branching/SELECT_f.js +++ b/js/Branching/SELECT_f.js @@ -6,7 +6,7 @@ function SELECT_f() { this.nin = 2; this.model = scicos_model(); this.model.sim = list(new ScilabString(["selector"]), new ScilabDouble([2])); - this.model.in1 = in1; + this.model.in1 = new ScilabDouble(in1); this.model.out = new ScilabDouble([-1]); this.model.evtin = new ScilabDouble([ones(in1)]); this.model.dstate = new ScilabDouble([this.z0]); |