diff options
Diffstat (limited to 'js/Linear/DLSS.js')
-rw-r--r-- | js/Linear/DLSS.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/js/Linear/DLSS.js b/js/Linear/DLSS.js index 9bb137e6..84562fd2 100644 --- a/js/Linear/DLSS.js +++ b/js/Linear/DLSS.js @@ -7,13 +7,13 @@ function DLSS() { this.C = 1; this.D = 0; this.model = scicos_model(); - this.model.sim = list(new ScilabString("dsslti4"),new ScilabDouble(4)); - this.model.in1 = new ScilabDouble(1); - this.model.out = new ScilabDouble(1); - this.model.evtin = new ScilabDouble(1); + this.model.sim = list(new ScilabString(["dsslti4"]), new ScilabDouble([4])); + 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 = []; |