diff options
Diffstat (limited to 'js/Linear/TCLSS_f.js')
-rw-r--r-- | js/Linear/TCLSS_f.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Linear/TCLSS_f.js b/js/Linear/TCLSS_f.js index c9f91609..3003cbcd 100644 --- a/js/Linear/TCLSS_f.js +++ b/js/Linear/TCLSS_f.js @@ -73,7 +73,7 @@ function TCLSS_f() { if (ok) { this.graphics.exprs = new ScilabDouble([this.exprs]); var rpar = [[this.A.slice()],[this.B.slice()],[this.C.slice()],[this.D.slice()]]; - if (this.D!=[]) { + if (this.D.length!=0) { if (norm(this.D,1)!=0) { var mmm = [true,true]; } else { @@ -87,7 +87,7 @@ function TCLSS_f() { } this.model.state = new ScilabDouble(this.x0.slice()); this.model.rpar = new ScilabDouble(rpar); - if (this.D!=[]) { + if (this.D.length!=0) { this.model.sim = list(new ScilabString(["tcslti"]), new ScilabDouble([1])); } else { this.model.sim = list(new ScilabString(["tcsltj"]), new ScilabDouble([1])); |