From 6e346dc5337e4a53f8268744c372ca694a9563f0 Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Fri, 24 Aug 2018 12:33:20 +0530 Subject: CLKSOMV_f, PROD_f, and SUM_f are types of RoundBlock --- js/NonLinear/PROD_f.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/NonLinear/PROD_f.js') diff --git a/js/NonLinear/PROD_f.js b/js/NonLinear/PROD_f.js index 807a8fd2..1c7ba910 100644 --- a/js/NonLinear/PROD_f.js +++ b/js/NonLinear/PROD_f.js @@ -8,7 +8,7 @@ function PROD_f() { this.model.blocktype = new ScilabString(["c"]); this.model.dep_ut = new ScilabBoolean([true,false]); this.x = new standard_define(new ScilabDouble([1,1]),this.model,new ScilabDouble([]),[]); - return new BasicBlock(this.x); + return new RoundBlock(this.x); } PROD_f.prototype.details = function PROD_f() { return this.x; @@ -17,6 +17,6 @@ function PROD_f() { alert("parameters cannot be modified"); } PROD_f.prototype.set = function PROD_f() { - return new BasicBlock(this.x); + return new RoundBlock(this.x); } } -- cgit