diff options
Diffstat (limited to 'js/Linear/CLSS.js')
-rw-r--r-- | js/Linear/CLSS.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/Linear/CLSS.js b/js/Linear/CLSS.js index ecc80b33..2b13f73d 100644 --- a/js/Linear/CLSS.js +++ b/js/Linear/CLSS.js @@ -15,7 +15,7 @@ function CLSS() { this.model.state = new ScilabDouble([this.x0]); this.model.rpar = new ScilabDouble([this.A.slice()],[this.B.slice()],[this.C.slice()],[this.D.slice()]); this.model.blocktype = new ScilabString(["c"]); - this.model.dep_ut = new ScilabDouble([false,true]); + this.model.dep_ut = new ScilabBoolean([false,true]); this.exprs = [[strcat(sci2exp(this.A))],[strcat(sci2exp(this.B))],[strcat(sci2exp(this.C))],[strcat(sci2exp(this.D))],[strcat(sci2exp(this.x0))]]; this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"CLSS\",sz(1),sz(2));"]); this.x = new standard_define(new ScilabDouble([4,2]),this.model,this.exprs,this.gr_i); @@ -88,10 +88,10 @@ function CLSS() { var mmm = [false,true]; } if (or(this.model.dep_ut!=mmm)) { - this.model.dep_ut = new ScilabDouble(mmm); + this.model.dep_ut = new ScilabBoolean(mmm); } } else { - this.model.dep_ut = new ScilabDouble([false,true]); + this.model.dep_ut = new ScilabBoolean([false,true]); } this.model.state = new ScilabDouble(this.x0.slice()); this.model.rpar = new ScilabDouble(rpar); |