summaryrefslogtreecommitdiff
path: root/js/NonLinear/DLRADAPT_f.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/NonLinear/DLRADAPT_f.js')
-rw-r--r--js/NonLinear/DLRADAPT_f.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/NonLinear/DLRADAPT_f.js b/js/NonLinear/DLRADAPT_f.js
index 6a39a40b..9f080d2c 100644
--- a/js/NonLinear/DLRADAPT_f.js
+++ b/js/NonLinear/DLRADAPT_f.js
@@ -8,14 +8,14 @@ function DLRADAPT_f() {
this.last_u = [];
this.last_y = [[0],[0]];
this.model = scicos_model();
- this.model.sim = new ScilabString("dlradp");
+ this.model.sim = new ScilabString(["dlradp"]);
this.model.in1 = [[1],[1]];
- this.model.out = new ScilabDouble(1);
- this.model.evtin = new ScilabDouble(1);
+ this.model.out = new ScilabDouble([1]);
+ this.model.evtin = new ScilabDouble([1]);
this.model.dstate = [[this.last_u],[this.last_y]];
this.model.rpar = [[this.p.slice()],[real(this.rn.slice())],[imag(this.rn.slice())],[real(this.rd.slice())],[imag(this.rd.slice())],[this.g.slice()]];
this.model.ipar = [[0],[2],[2]];
- this.model.blocktype = new ScilabString("d");
+ this.model.blocktype = new ScilabString(["d"]);
this.model.firing = [];
this.model.dep_ut = [true,false];
exprs = [[sci2exp(this.p)],[sci2exp(this.rn)],[sci2exp(this.rd,0)],[sci2exp(this.g)],[sci2exp(this.last_u)],[sci2exp(this.last_y)]];