From e99608a59243936dfe2e5f3aaa81411df3847f18 Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Tue, 10 Jul 2018 10:51:41 +0530 Subject: allow expression in lterm --- js/Branching/M_SWITCH.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/Branching/M_SWITCH.js') 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]]; -- cgit