summaryrefslogtreecommitdiff
path: root/js/NonLinear/INTRP2BLK_f.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/NonLinear/INTRP2BLK_f.js')
-rw-r--r--js/NonLinear/INTRP2BLK_f.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/NonLinear/INTRP2BLK_f.js b/js/NonLinear/INTRP2BLK_f.js
index eb655461..ef1ab80a 100644
--- a/js/NonLinear/INTRP2BLK_f.js
+++ b/js/NonLinear/INTRP2BLK_f.js
@@ -5,12 +5,12 @@ function INTRP2BLK_f() {
this.b = [[0],[1]];
this.c = [[0,1],[1,2]];
this.model = scicos_model();
- this.model.sim = list(new ScilabString("intrp2"),new ScilabDouble(1));
+ this.model.sim = list(new ScilabString(["intrp2"]), new ScilabDouble([1]));
this.model.in1 = [[1],[1]];
- this.model.out = new ScilabDouble(1);
+ this.model.out = new ScilabDouble([1]);
this.model.rpar = [[this.a],[this.b],[this.c.slice()]];
this.model.ipar = [[2],[2]];
- this.model.blocktype = new ScilabString("c");
+ this.model.blocktype = new ScilabString(["c"]);
this.model.dep_ut = [true,false];
exprs = [[strcat(sci2exp(this.a))],[strcat(sci2exp(this.b))],[strcat(sci2exp(this.c,0))]];
gr_i = [];