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 64b4c3c6..4644be89 100644
--- a/js/Branching/MUX.js
+++ b/js/Branching/MUX.js
@@ -11,7 +11,7 @@ function MUX() {
this.model.dep_ut = new ScilabBoolean([true,false]);
this.exprs = string(this.in1);
this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"MUX\",sz(1),sz(2));"]);
- this.x = new standard_define(new ScilabDouble([.5,2]),this.model,this.exprs,this.gr_i);
+ this.x = new standard_define(new ScilabDouble([.5,2]),this.model,new ScilabString([this.exprs]),this.gr_i);
return new BasicBlock(this.x);
}
MUX.prototype.details = function MUX() {