summaryrefslogtreecommitdiff
path: root/js/Branching/MUX.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Branching/MUX.js')
-rw-r--r--js/Branching/MUX.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Branching/MUX.js b/js/Branching/MUX.js
index 9c2fe761..72b2a620 100644
--- a/js/Branching/MUX.js
+++ b/js/Branching/MUX.js
@@ -3,7 +3,7 @@ function MUX() {
MUX.prototype.define = function MUX() {
this.in1 = 2;
this.model = scicos_model();
- this.model.sim = list("multiplex",4);
+ this.model.sim = list(new ScilabString("multiplex"),new ScilabDouble(4));
this.model.in1 = -transpose([1:this.in1]);
this.model.out = new ScilabDouble(0);
this.model.ipar = new ScilabDouble(this.in1);