diff options
author | Sunil Shetye | 2018-07-09 17:07:46 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-07-10 11:24:53 +0530 |
commit | f19304a4fe99556c5ddc35024c818d00ffe7e23a (patch) | |
tree | f795b52492d1962f66c2f84f575ce5074b0668a8 /js/Linear/TCLSS_f.js | |
parent | cbc375d9bc42bc29eeb919a020dfbf15921d3cf0 (diff) | |
download | sci2js-f19304a4fe99556c5ddc35024c818d00ffe7e23a.tar.gz sci2js-f19304a4fe99556c5ddc35024c818d00ffe7e23a.tar.bz2 sci2js-f19304a4fe99556c5ddc35024c818d00ffe7e23a.zip |
handle list separately
Diffstat (limited to 'js/Linear/TCLSS_f.js')
-rw-r--r-- | js/Linear/TCLSS_f.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/Linear/TCLSS_f.js b/js/Linear/TCLSS_f.js index 00370934..f040dc61 100644 --- a/js/Linear/TCLSS_f.js +++ b/js/Linear/TCLSS_f.js @@ -10,7 +10,7 @@ function TCLSS_f() { nx = size(this.x0,"*"); out = 1; this.model = scicos_model(); - this.model.sim = list("tcslti",1); + this.model.sim = list(new ScilabString("tcslti"),new ScilabDouble(1)); this.model.in1 = [[in1],[nx]]; this.model.out = new ScilabDouble(out); this.model.evtin = new ScilabDouble(1); @@ -85,9 +85,9 @@ function TCLSS_f() { this.model.state = this.x0.slice(); this.model.rpar = rpar; if (this.D!=[]) { - this.model.sim = list("tcslti",1); + this.model.sim = list(new ScilabString("tcslti"),new ScilabDouble(1)); } else { - this.model.sim = list("tcsltj",1); + this.model.sim = list(new ScilabString("tcsltj"),new ScilabDouble(1)); } this.x.graphics = graphics; this.x.model = this.model; |