diff options
Diffstat (limited to 'js/NonLinear/ABSBLK_f.js')
-rw-r--r-- | js/NonLinear/ABSBLK_f.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/js/NonLinear/ABSBLK_f.js b/js/NonLinear/ABSBLK_f.js index fe09aa27..4aa265a4 100644 --- a/js/NonLinear/ABSBLK_f.js +++ b/js/NonLinear/ABSBLK_f.js @@ -3,7 +3,7 @@ function ABSBLK_f() { ABSBLK_f.prototype.define = function ABSBLK_f() { this.model = scicos_model(); this.model.sim = list(new ScilabString(["absblk"]), new ScilabDouble([1])); - this.model.in1 = new ScilabDouble([-1]); + this.model.in = new ScilabDouble([-1]); this.model.out = new ScilabDouble([-1]); this.model.blocktype = new ScilabString(["c"]); this.model.dep_ut = new ScilabDouble([true,false]); @@ -20,7 +20,6 @@ function ABSBLK_f() { return options; } ABSBLK_f.prototype.set = function ABSBLK_f() { - this.x = arg1; return new BasicBlock(this.x); } } |