diff options
author | Sunil Shetye | 2018-07-11 15:19:38 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-07-11 15:21:08 +0530 |
commit | 0047c3bea1d86b12a08544f6f0833c63e77f6eac (patch) | |
tree | 36fc72fa9e5ea73c64a44e061b2c9c80e0307884 /js/Branching/M_SWITCH.js | |
parent | 079d0b4a3ec15a4d7d2644484d116df9d1c694bb (diff) | |
download | sci2js-0047c3bea1d86b12a08544f6f0833c63e77f6eac.tar.gz sci2js-0047c3bea1d86b12a08544f6f0833c63e77f6eac.tar.bz2 sci2js-0047c3bea1d86b12a08544f6f0833c63e77f6eac.zip |
support vector also
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 30bbaee4..3b75f7e2 100644 --- a/js/Branching/M_SWITCH.js +++ b/js/Branching/M_SWITCH.js @@ -10,7 +10,7 @@ function M_SWITCH() { this.model.out = new ScilabDouble([-1]); this.model.ipar = new ScilabDouble(ipar); this.model.blocktype = new ScilabString(["c"]); - this.model.dep_ut = [true,false]; + this.model.dep_ut = new ScilabDouble([true,false]); var exprs = [[string(this.nin)],[string(ipar)]]; var gr_i = []; this.x = standard_define([2.5,2],this.model,exprs,gr_i); |