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