diff options
Diffstat (limited to 'js/Linear/DIFF_c.js')
-rw-r--r-- | js/Linear/DIFF_c.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Linear/DIFF_c.js b/js/Linear/DIFF_c.js index f8d77168..057264bf 100644 --- a/js/Linear/DIFF_c.js +++ b/js/Linear/DIFF_c.js @@ -8,7 +8,7 @@ function DIFF_c() { this.model.out = new ScilabDouble([1]); this.model.state = new ScilabDouble(this.x0); this.model.blocktype = new ScilabString(["c"]); - this.model.dep_ut = [false,true]; + this.model.dep_ut = new ScilabDouble([false,true]); var exprs = [[strcat(sci2exp(this.x0[1-1]))],[strcat(sci2exp(this.x0[2-1]))]]; var gr_i = []; this.x = standard_define([2,2],this.model,exprs,gr_i); @@ -52,7 +52,7 @@ function DIFF_c() { if (!ask_again) { graphics.exprs = exprs; this.model.state = new ScilabDouble([this.x0],[this.xd0]); - this.model.out = [N]; + this.model.out = new ScilabDouble([N]); this.model.in1 = new ScilabDouble([N]); this.x.graphics = graphics; this.x.model = this.model; |