diff options
Diffstat (limited to 'js/Misc/func_block.js')
-rw-r--r-- | js/Misc/func_block.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Misc/func_block.js b/js/Misc/func_block.js index 54bc297f..f21a5066 100644 --- a/js/Misc/func_block.js +++ b/js/Misc/func_block.js @@ -9,7 +9,7 @@ function func_block() { 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); + this.x = new standard_define(new ScilabDouble([2,2]),this.model,new ScilabString([this.exprs]),this.gr_i); return new BasicBlock(this.x); } func_block.prototype.details = function func_block() { |