summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/Events/CLKSOMV_f.js4
-rw-r--r--js/Linear/SUM_f.js4
-rw-r--r--js/NonLinear/PROD_f.js4
3 files changed, 6 insertions, 6 deletions
diff --git a/js/Events/CLKSOMV_f.js b/js/Events/CLKSOMV_f.js
index b5a02ef9..a2ddd4dc 100644
--- a/js/Events/CLKSOMV_f.js
+++ b/js/Events/CLKSOMV_f.js
@@ -10,7 +10,7 @@ function CLKSOMV_f() {
this.model.dep_ut = new ScilabBoolean([false,false]);
var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"CLKSOMV_f\",sz(1),sz(2));"]);
this.x = new standard_define(new ScilabDouble([2,2]),this.model,new ScilabDouble([]),gr_i);
- return new BasicBlock(this.x);
+ return new RoundBlock(this.x);
}
CLKSOMV_f.prototype.details = function CLKSOMV_f() {
return this.x;
@@ -19,6 +19,6 @@ function CLKSOMV_f() {
alert("parameters cannot be modified");
}
CLKSOMV_f.prototype.set = function CLKSOMV_f() {
- return new BasicBlock(this.x);
+ return new RoundBlock(this.x);
}
}
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);
}
}
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);
}
}