summaryrefslogtreecommitdiff
path: root/js/NonLinear/PRODUCT.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/NonLinear/PRODUCT.js')
-rw-r--r--js/NonLinear/PRODUCT.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/NonLinear/PRODUCT.js b/js/NonLinear/PRODUCT.js
index ea3fb92f..bbaef310 100644
--- a/js/NonLinear/PRODUCT.js
+++ b/js/NonLinear/PRODUCT.js
@@ -23,11 +23,11 @@ function PRODUCT() {
return options;
}
PRODUCT.prototype.set = function PRODUCT() {
- this.sgn = inverse(arguments[0]["sgn"])
- this.exprs = arguments[0]["exprs"]
this.exprs = this.graphics.exprs;
while (true) {
- [ok,this.sgn,this.exprs] = scicos_getvalue([[" Set multiplication block parameters"],["(multiplication is set with + 1, division with -1)"],[""]],"Number of inputs or sign vector",list("vec",-1),this.exprs);
+ var ok = true;
+ this.sgn = inverse(arguments[0]["sgn"]);
+ this.exprs = arguments[0]["exprs"];
if (!ok) {
break;
}