diff options
Diffstat (limited to 'js/NonLinear/MAX_f.js')
-rw-r--r-- | js/NonLinear/MAX_f.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/NonLinear/MAX_f.js b/js/NonLinear/MAX_f.js index d5819afc..242d9ccc 100644 --- a/js/NonLinear/MAX_f.js +++ b/js/NonLinear/MAX_f.js @@ -3,11 +3,11 @@ function MAX_f() { MAX_f.prototype.define = function MAX_f() { in1 = -1; this.model = scicos_model(); - this.model.sim = new ScilabString("maxblk"); - this.model.in1 = new ScilabDouble(in1); - this.model.out = new ScilabDouble(1); + this.model.sim = new ScilabString(["maxblk"]); + this.model.in1 = new ScilabDouble([in1]); + this.model.out = new ScilabDouble([1]); this.model.dstate = [[0],[0]]; - this.model.blocktype = new ScilabString("c"); + this.model.blocktype = new ScilabString(["c"]); this.model.dep_ut = [true,false]; exprs = " "; gr_i = []; |