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/Linear/SUM_f.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/Linear') diff --git a/js/Linear/SUM_f.js b/js/Linear/SUM_f.js index 289364dd..4fec2bf4 100644 --- a/js/Linear/SUM_f.js +++ b/js/Linear/SUM_f.js @@ -10,7 +10,7 @@ function SUM_f() { var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"SUM_f\",sz(1),sz(2));"]); var exprs = []; this.x = new standard_define(new ScilabDouble([1,1]),this.model,new ScilabDouble(exprs),gr_i); - return new BasicBlock(this.x); + return new RoundBlock(this.x); } SUM_f.prototype.details = function SUM_f() { return this.x; @@ -19,6 +19,6 @@ function SUM_f() { alert("parameters cannot be modified"); } SUM_f.prototype.set = function SUM_f() { - return new BasicBlock(this.x); + return new RoundBlock(this.x); } } -- cgit