diff options
Diffstat (limited to 'js/Linear/CLR.js')
-rw-r--r-- | js/Linear/CLR.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/Linear/CLR.js b/js/Linear/CLR.js index b4abd599..5edba5dd 100644 --- a/js/Linear/CLR.js +++ b/js/Linear/CLR.js @@ -14,7 +14,7 @@ function CLR() { this.model.state = new ScilabDouble([x0]); this.model.rpar = new ScilabDouble([A.slice()],[B.slice()],[C.slice()],[D.slice()]); this.model.blocktype = new ScilabString(["c"]); - this.model.dep_ut = [false,true]; + this.model.dep_ut = new ScilabDouble([false,true]); var gr_i = []; this.x = standard_define([3,2],this.model,exprs,gr_i); return new BasicBlock(this.x); @@ -70,14 +70,14 @@ function CLR() { var mmm = [false,true]; } if (or(this.model.dep_ut!=mmm)) { - this.model.dep_ut = mmm; + this.model.dep_ut = new ScilabDouble(mmm); } if (ns1<=ns) { var x0 = x0.slice(1-1,ns1); } else { x0[ns1-1][1-1] = 0; } - this.model.state = x0; + this.model.state = new ScilabDouble(x0); this.model.rpar = new ScilabDouble(rpar); this.x.graphics = graphics; this.x.model = this.model; |