From eb7c8e0cd42d4afe02be3adda2e94b6b0dfdaa00 Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Tue, 26 Jun 2018 14:59:47 +0530 Subject: add return value from scicos_getvalue to global vars --- js/MatrixOp/MATLU.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'js/MatrixOp/MATLU.js') diff --git a/js/MatrixOp/MATLU.js b/js/MatrixOp/MATLU.js index 51c5af6a..10b6d6da 100644 --- a/js/MatrixOp/MATLU.js +++ b/js/MatrixOp/MATLU.js @@ -39,15 +39,15 @@ function MATLU() { label[9-1] = []; } while (true) { - [ok,typ,lab] = scicos_getvalue("Set MATLU block parameters",["Datatype(1=real double 2=Complex)"],list("vec",1),label); + [ok,this.typ,this.lab] = scicos_getvalue("Set MATLU block parameters",["Datatype(1=real double 2=Complex)"],list("vec",1),label); if (!ok) { break; } - if ((typ==1)) { + if ((this.typ==1)) { function_name = "mat_lu"; ot = [1,1]; it = 1; - } else if ((typ==2)) { + } else if ((this.typ==2)) { function_name = "matz_lu"; ot = [2,2]; it = 2; @@ -61,7 +61,7 @@ function MATLU() { if (ok) { funtyp = 4; model.sim = list(function_name,funtyp); - graphics.exprs = lab; + graphics.exprs = this.lab; this.x.graphics = graphics; this.x.model = model; break; -- cgit