diff options
Diffstat (limited to 'js/Threshold/GENERAL_f.js')
-rw-r--r-- | js/Threshold/GENERAL_f.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Threshold/GENERAL_f.js b/js/Threshold/GENERAL_f.js index dc095719..ff011cc2 100644 --- a/js/Threshold/GENERAL_f.js +++ b/js/Threshold/GENERAL_f.js @@ -9,7 +9,7 @@ function GENERAL_f() { this.model.nzcross = new ScilabDouble([this.in1]); this.model.in1 = new ScilabDouble([this.in1]); this.model.evtout = new ScilabDouble([ones(this.out,1)]); - this.model.rpar = [[0],[0],[0],[0]]; + this.model.rpar = new ScilabDouble([0],[0],[0],[0]); this.model.blocktype = new ScilabString(["z"]); this.model.firing = new ScilabDouble([-ones(this.out,1)]); this.model.dep_ut = [true,false]; |