diff options
author | Sunil Shetye | 2018-07-10 10:51:41 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-07-10 11:24:53 +0530 |
commit | e99608a59243936dfe2e5f3aaa81411df3847f18 (patch) | |
tree | 6f588a3371c84c158558836a90ba99fb7b6d3a7f /js/Branching/M_SWITCH.js | |
parent | 30c83c60e309a3b94d7bb7dcf5cfebd5db1884cb (diff) | |
download | sci2js-e99608a59243936dfe2e5f3aaa81411df3847f18.tar.gz sci2js-e99608a59243936dfe2e5f3aaa81411df3847f18.tar.bz2 sci2js-e99608a59243936dfe2e5f3aaa81411df3847f18.zip |
allow expression in lterm
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 93b27c32..e62e2877 100644 --- a/js/Branching/M_SWITCH.js +++ b/js/Branching/M_SWITCH.js @@ -60,7 +60,7 @@ function M_SWITCH() { } it = [[-1],[-2*ones(this.nin,1)]]; ot = -2; - [model,graphics,ok] = set_io(this.model,graphics,list(in1,it),list(out,ot),[],[]); + [this.model,graphics,ok] = set_io(this.model,graphics,list(in1,it),list(out,ot),[],[]); if (ok) { graphics.exprs = exprs; this.model.ipar = [[this.base],[this.rule]]; |