summaryrefslogtreecommitdiff
path: root/js/MatrixOp/MATMAGPHI.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/MatrixOp/MATMAGPHI.js')
-rw-r--r--js/MatrixOp/MATMAGPHI.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/MatrixOp/MATMAGPHI.js b/js/MatrixOp/MATMAGPHI.js
index 85b9dfa5..a99bd0f0 100644
--- a/js/MatrixOp/MATMAGPHI.js
+++ b/js/MatrixOp/MATMAGPHI.js
@@ -35,14 +35,14 @@ function MATMAGPHI() {
return options;
}
MATMAGPHI.prototype.set = function MATMAGPHI() {
- 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 MATMAGPHI block parameters",["decomposition type (1=Complex2MAG&PHI 2=MAG&PHI2Complex)"],list("vec",1),label);
+ var ok = true;
+ this.decomptyp = arguments[0]["decomptyp"];
+ this.lab = arguments[0]["lab"];
if (!ok) {
break;
}