summaryrefslogtreecommitdiff
path: root/js/MatrixOp/MATZREIM.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/MatrixOp/MATZREIM.js')
-rw-r--r--js/MatrixOp/MATZREIM.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/MatrixOp/MATZREIM.js b/js/MatrixOp/MATZREIM.js
index f58b1726..f6319315 100644
--- a/js/MatrixOp/MATZREIM.js
+++ b/js/MatrixOp/MATZREIM.js
@@ -35,14 +35,14 @@ function MATZREIM() {
return options;
}
MATZREIM.prototype.set = function MATZREIM() {
- this.decomptyp = arguments[0]["decomptyp"]
- this.lab = arguments[0]["lab"]
var label = this.graphics.exprs;
if (size(label,"*")==14) {
label[9-1] = [];
}
while (true) {
- [ok,this.decomptyp,this.lab] = scicos_getvalue("Set MATZREIM block parameters",["decomposition type (1=Complex2Real&Imag 2=Real&Imag2Complex)"],list("vec",1),label);
+ var ok = true;
+ this.decomptyp = arguments[0]["decomptyp"];
+ this.lab = arguments[0]["lab"];
if (!ok) {
break;
}