From 8ce53461fe09f5102deeaedbb87bfc0d4f996ed2 Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Mon, 16 Jul 2018 18:13:55 +0530 Subject: move the options in the loop --- js/MatrixOp/MATDET.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'js/MatrixOp/MATDET.js') 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; } -- cgit