summaryrefslogtreecommitdiff
path: root/js/Branching/ISELECT_f.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Branching/ISELECT_f.js')
-rw-r--r--js/Branching/ISELECT_f.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Branching/ISELECT_f.js b/js/Branching/ISELECT_f.js
index 1ed5f874..456dd661 100644
--- a/js/Branching/ISELECT_f.js
+++ b/js/Branching/ISELECT_f.js
@@ -7,7 +7,7 @@ function ISELECT_f() {
this.model = scicos_model();
this.model.sim = list(new ScilabString(["selector"]), new ScilabDouble([2]));
this.model.in1 = new ScilabDouble([-1]);
- this.model.out = out;
+ this.model.out = new ScilabDouble(out);
this.model.evtin = new ScilabDouble([ones(out)]);
this.model.dstate = new ScilabDouble([this.z0]);
this.model.blocktype = new ScilabString(["c"]);