diff options
author | Sunil Shetye | 2018-07-15 00:26:52 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-07-15 07:11:58 +0530 |
commit | 92f8a251bbaeddf6ec034722a3079d865517d650 (patch) | |
tree | fb1b9f51c3456c04c02ac3ab144b65bdd392e98b /js/Linear/TIME_DELAY.js | |
parent | c394c9628cd411c95def024d47f10d953e160ec5 (diff) | |
download | sci2js-92f8a251bbaeddf6ec034722a3079d865517d650.tar.gz sci2js-92f8a251bbaeddf6ec034722a3079d865517d650.tar.bz2 sci2js-92f8a251bbaeddf6ec034722a3079d865517d650.zip |
handle boolean differently
Diffstat (limited to 'js/Linear/TIME_DELAY.js')
-rw-r--r-- | js/Linear/TIME_DELAY.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Linear/TIME_DELAY.js b/js/Linear/TIME_DELAY.js index 2686f05e..89bc8dc3 100644 --- a/js/Linear/TIME_DELAY.js +++ b/js/Linear/TIME_DELAY.js @@ -12,7 +12,7 @@ function TIME_DELAY() { this.model.rpar = new ScilabDouble([this.T,this.init]); this.model.ipar = new ScilabDouble([this.N]); this.model.blocktype = new ScilabString(["x"]); - this.model.dep_ut = new ScilabDouble([false,true]); + this.model.dep_ut = new ScilabBoolean([false,true]); this.exprs = [[string(this.T)],[string(this.init)],[string(this.N)]]; this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"TIME_DELAY\",sz(1),sz(2));"]); this.x = new standard_define(new ScilabDouble([3.5,2]),this.model,this.exprs,this.gr_i); @@ -59,7 +59,7 @@ function TIME_DELAY() { this.graphics.exprs = new ScilabDouble([this.exprs]); this.model.rpar = new ScilabDouble([this.T],[this.init]); this.model.ipar = new ScilabDouble([this.N]); - this.model.dep_ut = new ScilabDouble([false,true]); + this.model.dep_ut = new ScilabBoolean([false,true]); this.x.graphics = this.graphics; this.x.model = this.model; break; |