diff options
Diffstat (limited to 'js/Branching/M_SWITCH.js')
-rw-r--r-- | js/Branching/M_SWITCH.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Branching/M_SWITCH.js b/js/Branching/M_SWITCH.js index 843e56a3..16dc2c83 100644 --- a/js/Branching/M_SWITCH.js +++ b/js/Branching/M_SWITCH.js @@ -13,7 +13,7 @@ function M_SWITCH() { this.model.dep_ut = new ScilabBoolean([true,false]); this.exprs = [[string(this.nin)],[string(ipar)]]; this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"M_SWITCH\",sz(1),sz(2));"]); - this.x = new standard_define(new ScilabDouble([2.5,2]),this.model,this.exprs,this.gr_i); + this.x = new standard_define(new ScilabDouble([2.5,2]),this.model,new ScilabDouble(this.exprs),this.gr_i); return new BasicBlock(this.x); } M_SWITCH.prototype.details = function M_SWITCH() { |