diff options
author | Sunil Shetye | 2018-06-26 14:59:47 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-06-26 14:59:47 +0530 |
commit | eb7c8e0cd42d4afe02be3adda2e94b6b0dfdaa00 (patch) | |
tree | 6378935263fe5cafd389b6893ac3b37a1dd4b1a7 /js/MatrixOp/MATLU.js | |
parent | afed64f1a0eab0b2d742088186d7bc340a2c895b (diff) | |
download | sci2js-eb7c8e0cd42d4afe02be3adda2e94b6b0dfdaa00.tar.gz sci2js-eb7c8e0cd42d4afe02be3adda2e94b6b0dfdaa00.tar.bz2 sci2js-eb7c8e0cd42d4afe02be3adda2e94b6b0dfdaa00.zip |
add return value from scicos_getvalue to global vars
Diffstat (limited to 'js/MatrixOp/MATLU.js')
-rw-r--r-- | js/MatrixOp/MATLU.js | 8 |
1 files changed, 4 insertions, 4 deletions
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; |