diff options
Diffstat (limited to 'js/Linear/SAMPHOLD.js')
-rw-r--r-- | js/Linear/SAMPHOLD.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Linear/SAMPHOLD.js b/js/Linear/SAMPHOLD.js index c942c6c6..70de60f7 100644 --- a/js/Linear/SAMPHOLD.js +++ b/js/Linear/SAMPHOLD.js @@ -8,7 +8,7 @@ function SAMPHOLD() { this.model.out = new ScilabDouble([-1]); this.model.evtin = new ScilabDouble([1]); this.model.blocktype = new ScilabString(["d"]); - this.model.dep_ut = new ScilabDouble([true,false]); + this.model.dep_ut = new ScilabBoolean([true,false]); this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"SAMPHOLD\",sz(1),sz(2));"]); this.x = new standard_define(new ScilabDouble([2,2]),this.model," ",this.gr_i); return new BasicBlock(this.x); |