diff options
Diffstat (limited to 'js/NonLinear/COSBLK_f.js')
-rw-r--r-- | js/NonLinear/COSBLK_f.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/js/NonLinear/COSBLK_f.js b/js/NonLinear/COSBLK_f.js index ced1c488..cd2525a5 100644 --- a/js/NonLinear/COSBLK_f.js +++ b/js/NonLinear/COSBLK_f.js @@ -4,7 +4,7 @@ function COSBLK_f() { var in1 = 1; this.model = scicos_model(); this.model.sim = new ScilabString(["cosblk"]); - 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]); @@ -21,7 +21,6 @@ function COSBLK_f() { return options; } COSBLK_f.prototype.set = function COSBLK_f() { - this.x = arg1; return new BasicBlock(this.x); } } |