diff options
author | Sunil Shetye | 2018-08-24 12:33:20 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-08-27 16:43:40 +0530 |
commit | 6e346dc5337e4a53f8268744c372ca694a9563f0 (patch) | |
tree | c824f81a1853a56d225e07086f0172ffbdc91890 /js/NonLinear/PROD_f.js | |
parent | 3386d0d537a498adce65f313aacb7ca4a147a4d2 (diff) | |
download | sci2js-6e346dc5337e4a53f8268744c372ca694a9563f0.tar.gz sci2js-6e346dc5337e4a53f8268744c372ca694a9563f0.tar.bz2 sci2js-6e346dc5337e4a53f8268744c372ca694a9563f0.zip |
CLKSOMV_f, PROD_f, and SUM_f are types of RoundBlock
Diffstat (limited to 'js/NonLinear/PROD_f.js')
-rw-r--r-- | js/NonLinear/PROD_f.js | 4 |
1 files changed, 2 insertions, 2 deletions
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); } } |