diff options
Diffstat (limited to 'js/MatrixOp/MATDET.js')
-rw-r--r-- | js/MatrixOp/MATDET.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/MatrixOp/MATDET.js b/js/MatrixOp/MATDET.js index 995c94a4..1cea77be 100644 --- a/js/MatrixOp/MATDET.js +++ b/js/MatrixOp/MATDET.js @@ -35,14 +35,14 @@ function MATDET() { return options; } MATDET.prototype.set = function MATDET() { - this.typ = inverse(arguments[0]["typ"]) - this.exprs = arguments[0]["exprs"] var label = this.graphics.exprs; if (size(label,"*")==14) { label[9-1] = []; } while (true) { - [ok,this.typ,this.exprs] = scicos_getvalue("Set MATDET Block",["Datatype(1=real double 2=Complex)"],list("vec",1),label); + var ok = true; + this.typ = inverse(arguments[0]["typ"]); + this.exprs = arguments[0]["exprs"]; if (!ok) { break; } |