summaryrefslogtreecommitdiff
path: root/js/NonLinear/SATURATION.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/NonLinear/SATURATION.js')
-rw-r--r--js/NonLinear/SATURATION.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/js/NonLinear/SATURATION.js b/js/NonLinear/SATURATION.js
index c53f10ec..e3db86fe 100644
--- a/js/NonLinear/SATURATION.js
+++ b/js/NonLinear/SATURATION.js
@@ -30,13 +30,13 @@ function SATURATION() {
return options;
}
SATURATION.prototype.set = function SATURATION() {
- this.maxp = parseFloat(arguments[0]["maxp"])
- this.minp = parseFloat(arguments[0]["minp"])
- this.zeroc = arguments[0]["zeroc"]
- this.exprs = arguments[0]["exprs"]
this.exprs = this.graphics.exprs;
while (true) {
- [ok,this.maxp,this.minp,this.zeroc,this.exprs] = scicos_getvalue("Set Saturation parameters",["Upper limit","Lower limit","zero crossing (0:no, 1:yes)"],list("vec",1,"vec",1,"vec",1),this.exprs);
+ var ok = true;
+ this.maxp = parseFloat(arguments[0]["maxp"]);
+ this.minp = parseFloat(arguments[0]["minp"]);
+ this.zeroc = arguments[0]["zeroc"];
+ this.exprs = arguments[0]["exprs"];
if (!ok) {
break;
}