summaryrefslogtreecommitdiff
path: root/js/Branching/SWITCH2.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Branching/SWITCH2.js')
-rw-r--r--js/Branching/SWITCH2.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Branching/SWITCH2.js b/js/Branching/SWITCH2.js
index d493aba9..5029e43f 100644
--- a/js/Branching/SWITCH2.js
+++ b/js/Branching/SWITCH2.js
@@ -6,7 +6,7 @@ function SWITCH2() {
this.nzz = 1;
rpar = 0;
this.model = scicos_model();
- this.model.sim = list("switch2",4);
+ this.model.sim = list(new ScilabString("switch2"),new ScilabDouble(4));
this.model.in1 = in1;
this.model.out = new ScilabDouble(-1);
this.model.ipar = ipar;