summaryrefslogtreecommitdiff
path: root/js/Linear/CLR.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Linear/CLR.js')
-rw-r--r--js/Linear/CLR.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/Linear/CLR.js b/js/Linear/CLR.js
index 96bce872..498db2d9 100644
--- a/js/Linear/CLR.js
+++ b/js/Linear/CLR.js
@@ -30,9 +30,6 @@ function CLR() {
return options;
}
CLR.prototype.set = function CLR() {
- this.num = arguments[0]["num"]
- this.den = arguments[0]["den"]
- this.exprs = arguments[0]["exprs"]
this.exprs = this.graphics.exprs;
var x0 = this.model.state;
var rpar = this.model.rpar;
@@ -42,7 +39,10 @@ function CLR() {
var PREVAR_scicos_context = PREVAR_scicos_context;
PREVAR_scicos_context.s = %s;
while (true) {
- [ok,this.num,this.den,this.exprs] = scicos_getvalue("Set continuous SISO transfer parameters",["Numerator (s)","Denominator (s)"],list("pol",1,"pol",1),this.exprs);
+ var ok = true;
+ this.num = arguments[0]["num"];
+ this.den = arguments[0]["den"];
+ this.exprs = arguments[0]["exprs"];
if (!ok) {
break;
}