diff options
Diffstat (limited to 'js/NonLinear/LOGBLK_f.js')
-rw-r--r-- | js/NonLinear/LOGBLK_f.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/js/NonLinear/LOGBLK_f.js b/js/NonLinear/LOGBLK_f.js index c29da31c..95afdc77 100644 --- a/js/NonLinear/LOGBLK_f.js +++ b/js/NonLinear/LOGBLK_f.js @@ -4,11 +4,11 @@ function LOGBLK_f() { in1 = 1; this.a = math.E; this.model = scicos_model(); - this.model.sim = new ScilabString("logblk"); - this.model.in1 = new ScilabDouble(-1); - this.model.out = new ScilabDouble(-1); - this.model.rpar = new ScilabDouble(this.a); - this.model.blocktype = new ScilabString("c"); + this.model.sim = new ScilabString(["logblk"]); + this.model.in1 = new ScilabDouble([-1]); + this.model.out = new ScilabDouble([-1]); + this.model.rpar = new ScilabDouble([this.a]); + this.model.blocktype = new ScilabString(["c"]); this.model.dep_ut = [true,false]; exprs = "%e"; gr_i = []; @@ -42,7 +42,7 @@ function LOGBLK_f() { } else { if (ok) { graphics.exprs = exprs; - this.model.rpar = new ScilabDouble(this.a); + this.model.rpar = new ScilabDouble([this.a]); this.x.graphics = graphics; this.x.model = this.model; break; |