diff options
Diffstat (limited to 'js/Misc/generic_block.js')
-rw-r--r-- | js/Misc/generic_block.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Misc/generic_block.js b/js/Misc/generic_block.js index 0fdb51e9..e6e9b94d 100644 --- a/js/Misc/generic_block.js +++ b/js/Misc/generic_block.js @@ -15,7 +15,7 @@ function generic_block() { this.model.ipar = new ScilabDouble([]); this.model.blocktype = new ScilabString(["c"]); this.model.firing = new ScilabDouble([]); - this.model.dep_ut = new ScilabDouble([true,false]); + this.model.dep_ut = new ScilabBoolean([true,false]); var label = [[this.function_name],[sci2exp(this.funtyp)],[sci2exp(this.model.in)],[sci2exp(this.model.out)],[sci2exp(this.model.evtin)],[sci2exp(this.model.evtout)],[sci2exp(this.model.state)],[sci2exp(this.model.dstate)],[sci2exp(this.model.rpar)],[sci2exp(this.model.ipar)],[sci2exp(this.model.firing)],["y"],["n"]]; this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"generic_block\",sz(1),sz(2));"]); this.x = new standard_define(new ScilabDouble([2,2]),this.model,label,this.gr_i); @@ -116,7 +116,7 @@ function generic_block() { this.model.rpar = new ScilabDouble(this.rpar); this.model.ipar = new ScilabDouble([this.ipar]); this.model.firing = new ScilabDouble([this.auto0]); - this.model.dep_ut = new ScilabDouble(dep_ut); + this.model.dep_ut = new ScilabBoolean(dep_ut); this.graphics.exprs = new ScilabDouble([label]); break; } |