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/MATZREIM.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/MATZREIM.js')
-rw-r--r-- | js/MatrixOp/MATZREIM.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/MatrixOp/MATZREIM.js b/js/MatrixOp/MATZREIM.js index a2f7ea3b..58cb5d71 100644 --- a/js/MatrixOp/MATZREIM.js +++ b/js/MatrixOp/MATZREIM.js @@ -39,18 +39,18 @@ function MATZREIM() { label[9-1] = []; } while (true) { - [ok,decomptyp,lab] = scicos_getvalue("Set MATZREIM block parameters",["decomposition type (1=Complex2Real&Imag 2=Real&Imag2Complex)"],list("vec",1),label); + [ok,this.decomptyp,this.lab] = scicos_getvalue("Set MATZREIM block parameters",["decomposition type (1=Complex2Real&Imag 2=Real&Imag2Complex)"],list("vec",1),label); if (!ok) { break; } - label = lab; - if ((decomptyp==1)) { + label = this.lab; + if ((this.decomptyp==1)) { function_name = "matz_reim"; in1 = [-1,-2]; it = 2; out = [[-1,-2],[-1,-2]]; ot = [1,1]; - } else if ((decomptyp==2)) { + } else if ((this.decomptyp==2)) { function_name = "matz_reimc"; in1 = [[-1,-2],[-1,-2]]; it = [1,1]; |