summaryrefslogtreecommitdiff
path: root/js/Misc/CONSTRAINT_c.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Misc/CONSTRAINT_c.js')
-rw-r--r--js/Misc/CONSTRAINT_c.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/Misc/CONSTRAINT_c.js b/js/Misc/CONSTRAINT_c.js
index 0ea8c789..c372580e 100644
--- a/js/Misc/CONSTRAINT_c.js
+++ b/js/Misc/CONSTRAINT_c.js
@@ -24,11 +24,11 @@ function CONSTRAINT_c() {
return options;
}
CONSTRAINT_c.prototype.set = function CONSTRAINT_c() {
- this.x0 = inverse(arguments[0]["x0"])
- this.exprs = arguments[0]["exprs"]
this.exprs = this.graphics.exprs;
while (true) {
- [ok,this.x0,this.exprs] = scicos_getvalue("Set solver block parameters","Initial guess values",list("vec",-1),this.exprs);
+ var ok = true;
+ this.x0 = inverse(arguments[0]["x0"]);
+ this.exprs = arguments[0]["exprs"];
if (!ok) {
break;
}