From 6ee02952c836bb31e9b51783e6a16724fba64637 Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Fri, 13 Jul 2018 15:37:42 +0530 Subject: change in1 to in --- js/NonLinear/PROD_f.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'js/NonLinear/PROD_f.js') diff --git a/js/NonLinear/PROD_f.js b/js/NonLinear/PROD_f.js index 5090deb5..3e67f178 100644 --- a/js/NonLinear/PROD_f.js +++ b/js/NonLinear/PROD_f.js @@ -3,7 +3,7 @@ function PROD_f() { PROD_f.prototype.define = function PROD_f() { this.model = scicos_model(); this.model.sim = list(new ScilabString(["prod"]), new ScilabDouble([2])); - this.model.in1 = new ScilabDouble([-1],[-1]); + this.model.in = new ScilabDouble([-1],[-1]); this.model.out = new ScilabDouble([-1]); this.model.blocktype = new ScilabString(["c"]); this.model.dep_ut = new ScilabDouble([true,false]); @@ -19,7 +19,6 @@ function PROD_f() { return options; } PROD_f.prototype.set = function PROD_f() { - this.x = arg1; return new BasicBlock(this.x); } } -- cgit