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/MATPINV.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/MATPINV.js')
-rw-r--r-- | js/MatrixOp/MATPINV.js | 6 |
1 files changed, 3 insertions, 3 deletions
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; |