summaryrefslogtreecommitdiff
path: root/js/Misc/func_block.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Misc/func_block.js')
-rw-r--r--js/Misc/func_block.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Misc/func_block.js b/js/Misc/func_block.js
index 2f3e5b02..54bc297f 100644
--- a/js/Misc/func_block.js
+++ b/js/Misc/func_block.js
@@ -6,7 +6,7 @@ function func_block() {
this.model.in = new ScilabDouble([1]);
this.model.out = new ScilabDouble([1]);
this.model.blocktype = new ScilabString(["c"]);
- this.model.dep_ut = new ScilabDouble([true,false]);
+ this.model.dep_ut = new ScilabBoolean([true,false]);
this.exprs = "v=sin(u);y=u*v";
this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"func_block\",sz(1),sz(2));"]);
this.x = new standard_define(new ScilabDouble([2,2]),this.model,this.exprs,this.gr_i);