summaryrefslogtreecommitdiff
path: root/js/NonLinear/QUANT_f.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/NonLinear/QUANT_f.js')
-rw-r--r--js/NonLinear/QUANT_f.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/NonLinear/QUANT_f.js b/js/NonLinear/QUANT_f.js
index b2642a10..80ff7500 100644
--- a/js/NonLinear/QUANT_f.js
+++ b/js/NonLinear/QUANT_f.js
@@ -27,12 +27,12 @@ function QUANT_f() {
return options;
}
QUANT_f.prototype.set = function QUANT_f() {
- this.pas = parseFloat(arguments[0]["pas"])
- this.meth = parseFloat(arguments[0]["meth"])
- this.exprs = arguments[0]["exprs"]
this.exprs = this.graphics.exprs;
while (true) {
- [ok,this.pas,this.meth,this.exprs] = scicos_getvalue("Set parameters",["Step","Quantization Type (1-4)"],list("vec",1,"vec",1),this.exprs);
+ var ok = true;
+ this.pas = parseFloat(arguments[0]["pas"]);
+ this.meth = parseFloat(arguments[0]["meth"]);
+ this.exprs = arguments[0]["exprs"];
if (!ok) {
break;
}