summaryrefslogtreecommitdiff
path: root/js/Linear/SUM_f.js
diff options
context:
space:
mode:
authorSunil Shetye2018-08-24 12:33:20 +0530
committerSunil Shetye2018-08-27 16:43:40 +0530
commit6e346dc5337e4a53f8268744c372ca694a9563f0 (patch)
treec824f81a1853a56d225e07086f0172ffbdc91890 /js/Linear/SUM_f.js
parent3386d0d537a498adce65f313aacb7ca4a147a4d2 (diff)
downloadsci2js-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/Linear/SUM_f.js')
-rw-r--r--js/Linear/SUM_f.js4
1 files changed, 2 insertions, 2 deletions
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);
}
}