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/MATINV.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/MATINV.js')
-rw-r--r-- | js/MatrixOp/MATINV.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/MatrixOp/MATINV.js b/js/MatrixOp/MATINV.js index b495de7d..2a7995c3 100644 --- a/js/MatrixOp/MATINV.js +++ b/js/MatrixOp/MATINV.js @@ -39,15 +39,15 @@ function MATINV() { label[9-1] = []; } while (true) { - [ok,typ,exprs] = scicos_getvalue("Set MATINV Block",["Datatype(1=real double 2=Complex)"],list("vec",1),label); + [ok,this.typ,exprs] = scicos_getvalue("Set MATINV Block",["Datatype(1=real double 2=Complex)"],list("vec",1),label); if (!ok) { break; } - if ((typ==1)) { + if ((this.typ==1)) { function_name = "mat_inv"; ot = 1; it = 1; - } else if ((typ==2)) { + } else if ((this.typ==2)) { function_name = "matz_inv"; ot = 2; it = 2; |