diff options
Diffstat (limited to 'js/Threshold/POSTONEG_f.js')
-rw-r--r-- | js/Threshold/POSTONEG_f.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/js/Threshold/POSTONEG_f.js b/js/Threshold/POSTONEG_f.js index db0e654e..5cd1be0a 100644 --- a/js/Threshold/POSTONEG_f.js +++ b/js/Threshold/POSTONEG_f.js @@ -5,7 +5,7 @@ function POSTONEG_f() { this.model = scicos_model(); this.model.sim = list(new ScilabString(["zcross"]), new ScilabDouble([1])); this.model.nzcross = new ScilabDouble([1]); - this.model.in1 = new ScilabDouble([1]); + this.model.in = new ScilabDouble([1]); this.model.evtout = new ScilabDouble([1]); this.model.rpar = new ScilabDouble([-1],[-1],[-1],[0]); this.model.blocktype = new ScilabString(["z"]); @@ -24,7 +24,6 @@ function POSTONEG_f() { return options; } POSTONEG_f.prototype.set = function POSTONEG_f() { - this.x = arg1; this.x.model.firing = [-1]; return new BasicBlock(this.x); } |