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/ESELECT_f.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'js/Branching/ESELECT_f.js')

diff --git a/js/Branching/ESELECT_f.js b/js/Branching/ESELECT_f.js
index faca22b4..a8945df6 100644
--- a/js/Branching/ESELECT_f.js
+++ b/js/Branching/ESELECT_f.js
@@ -61,7 +61,7 @@ function ESELECT_f() {
             if (this.out<2) {
                 message("Block must have at least two output ports");
             } else {
-                [model,graphics,ok] = check_io(this.model,graphics,1,[],this.inh,[ones(this.out,1)]);
+                [this.model,graphics,ok] = check_io(this.model,graphics,1,[],this.inh,[ones(this.out,1)]);
                 if (ok) {
                     graphics.exprs = exprs;
                     this.model.evtout = new ScilabDouble([ones(this.out,1)]);
-- 
cgit