summaryrefslogtreecommitdiff
path: root/js/Branching/SWITCH2_m.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Branching/SWITCH2_m.js')
-rw-r--r--js/Branching/SWITCH2_m.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Branching/SWITCH2_m.js b/js/Branching/SWITCH2_m.js
index b43d42fd..080c3d90 100644
--- a/js/Branching/SWITCH2_m.js
+++ b/js/Branching/SWITCH2_m.js
@@ -5,7 +5,7 @@ function SWITCH2_m() {
this.nzz = 1;
rpar = 0;
this.model = scicos_model();
- this.model.sim = list("switch2_m",4);
+ this.model.sim = list(new ScilabString("switch2_m"),new ScilabDouble(4));
this.model.in1 = [[-1],[1],[-1]];
this.model.in2 = [[-2],[1],[-2]];
this.model.intyp = new ScilabDouble(1);