summaryrefslogtreecommitdiff
path: root/js/Linear/DLSS_f.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Linear/DLSS_f.js')
-rw-r--r--js/Linear/DLSS_f.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/js/Linear/DLSS_f.js b/js/Linear/DLSS_f.js
index 29b08e92..aa18f3ee 100644
--- a/js/Linear/DLSS_f.js
+++ b/js/Linear/DLSS_f.js
@@ -7,13 +7,13 @@ function DLSS_f() {
this.C = 1;
this.D = 0;
this.model = scicos_model();
- this.model.sim = list(new ScilabString("dsslti"),new ScilabDouble(1));
- this.model.in1 = new ScilabDouble(1);
- this.model.out = new ScilabDouble(1);
- this.model.evtin = new ScilabDouble(1);
+ this.model.sim = list(new ScilabString(["dsslti"]), new ScilabDouble([1]));
+ this.model.in1 = new ScilabDouble([1]);
+ this.model.out = new ScilabDouble([1]);
+ this.model.evtin = new ScilabDouble([1]);
this.model.dstate = this.x0.slice();
this.model.rpar = [[this.A.slice()],[this.B.slice()],[this.C.slice()],[this.D.slice()]];
- this.model.blocktype = new ScilabString("d");
+ this.model.blocktype = new ScilabString(["d"]);
this.model.dep_ut = [false,false];
exprs = [[strcat(sci2exp(this.A))],[strcat(sci2exp(this.B))],[strcat(sci2exp(this.C))],[strcat(sci2exp(this.D))],[strcat(sci2exp(this.x0))]];
gr_i = [];