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/MATPINV.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'js/MatrixOp/MATPINV.js') diff --git a/js/MatrixOp/MATPINV.js b/js/MatrixOp/MATPINV.js index e21a49dc..cc82ce10 100644 --- a/js/MatrixOp/MATPINV.js +++ b/js/MatrixOp/MATPINV.js @@ -39,15 +39,15 @@ function MATPINV() { label[9-1] = []; } while (true) { - [ok,typ,exprs] = scicos_getvalue("Set MATPINV Block",["Datatype(1=real double 2=Complex)"],list("vec",1),label); + [ok,this.typ,exprs] = scicos_getvalue("Set MATPINV Block",["Datatype(1=real double 2=Complex)"],list("vec",1),label); if (!ok) { break; } - if ((typ==1)) { + if ((this.typ==1)) { function_name = "mat_pinv"; ot = 1; it = 1; - } else if ((typ==2)) { + } else if ((this.typ==2)) { function_name = "matz_pinv"; ot = 2; it = 2; -- cgit