summaryrefslogtreecommitdiff
path: root/js/Linear/CLSS_f.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Linear/CLSS_f.js')
-rw-r--r--js/Linear/CLSS_f.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/js/Linear/CLSS_f.js b/js/Linear/CLSS_f.js
index 8cb38f15..c2a8963b 100644
--- a/js/Linear/CLSS_f.js
+++ b/js/Linear/CLSS_f.js
@@ -9,12 +9,12 @@ function CLSS_f() {
in1 = 1;
out = 1;
this.model = scicos_model();
- this.model.sim = list(new ScilabString("csslti"),new ScilabDouble(1));
- this.model.in1 = new ScilabDouble(in1);
- this.model.out = new ScilabDouble(out);
- this.model.state = new ScilabDouble(this.x0);
+ this.model.sim = list(new ScilabString(["csslti"]), new ScilabDouble([1]));
+ this.model.in1 = new ScilabDouble([in1]);
+ this.model.out = new ScilabDouble([out]);
+ this.model.state = new ScilabDouble([this.x0]);
this.model.rpar = [[this.A.slice()],[this.B.slice()],[this.C.slice()],[this.D.slice()]];
- this.model.blocktype = new ScilabString("c");
+ this.model.blocktype = new ScilabString(["c"]);
this.model.dep_ut = [false,true];
exprs = [[strcat(sci2exp(this.A))],[strcat(sci2exp(this.B))],[strcat(sci2exp(this.C))],[strcat(sci2exp(this.D))],[strcat(sci2exp(this.x0))]];
gr_i = [];