diff options
Diffstat (limited to 'js/Linear/CLR_f.js')
-rw-r--r-- | js/Linear/CLR_f.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/js/Linear/CLR_f.js b/js/Linear/CLR_f.js index 5f862678..75c60598 100644 --- a/js/Linear/CLR_f.js +++ b/js/Linear/CLR_f.js @@ -8,12 +8,12 @@ function CLR_f() { D = 0; exprs = [["1"],["1+s"]]; this.model = scicos_model(); - this.model.sim = list(new ScilabString("csslti"),new ScilabDouble(1)); - this.model.in1 = new ScilabDouble(1); - this.model.out = new ScilabDouble(1); - this.model.state = new ScilabDouble(x0); + this.model.sim = list(new ScilabString(["csslti"]), new ScilabDouble([1])); + this.model.in1 = new ScilabDouble([1]); + this.model.out = new ScilabDouble([1]); + this.model.state = new ScilabDouble([x0]); this.model.rpar = [[A.slice()],[B.slice()],[C.slice()],[D.slice()]]; - this.model.blocktype = new ScilabString("c"); + this.model.blocktype = new ScilabString(["c"]); this.model.dep_ut = [false,true]; gr_i = []; this.x = standard_define([2.5,2.5],this.model,exprs,gr_i); |