diff options
Diffstat (limited to 'js/Threshold')
-rw-r--r-- | js/Threshold/GENERAL_f.js | 2 | ||||
-rw-r--r-- | js/Threshold/NEGTOPOS_f.js | 2 | ||||
-rw-r--r-- | js/Threshold/POSTONEG_f.js | 2 | ||||
-rw-r--r-- | js/Threshold/ZCROSS_f.js | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/js/Threshold/GENERAL_f.js b/js/Threshold/GENERAL_f.js index cc6e31c3..81323f62 100644 --- a/js/Threshold/GENERAL_f.js +++ b/js/Threshold/GENERAL_f.js @@ -5,7 +5,7 @@ function GENERAL_f() { this.in1 = 1; this.out = 1; this.model = scicos_model(); - this.model.sim = list("zcross",1); + this.model.sim = list(new ScilabString("zcross"),new ScilabDouble(1)); this.model.nzcross = new ScilabDouble(this.in1); this.model.in1 = new ScilabDouble(this.in1); this.model.evtout = new ScilabDouble(ones(this.out,1)); diff --git a/js/Threshold/NEGTOPOS_f.js b/js/Threshold/NEGTOPOS_f.js index 81862e86..8cc16952 100644 --- a/js/Threshold/NEGTOPOS_f.js +++ b/js/Threshold/NEGTOPOS_f.js @@ -2,7 +2,7 @@ function NEGTOPOS_f() { NEGTOPOS_f.prototype.define = function NEGTOPOS_f() { this.model = scicos_model(); - this.model.sim = list("zcross",1); + this.model.sim = list(new ScilabString("zcross"),new ScilabDouble(1)); this.model.nzcross = new ScilabDouble(1); this.model.in1 = new ScilabDouble(1); this.model.evtout = new ScilabDouble(1); diff --git a/js/Threshold/POSTONEG_f.js b/js/Threshold/POSTONEG_f.js index 8913a995..4d4ec11f 100644 --- a/js/Threshold/POSTONEG_f.js +++ b/js/Threshold/POSTONEG_f.js @@ -3,7 +3,7 @@ function POSTONEG_f() { POSTONEG_f.prototype.define = function POSTONEG_f() { rpar = [[-1],[-1],[-1],[0]]; this.model = scicos_model(); - this.model.sim = list("zcross",1); + this.model.sim = list(new ScilabString("zcross"),new ScilabDouble(1)); this.model.nzcross = new ScilabDouble(1); this.model.in1 = new ScilabDouble(1); this.model.evtout = new ScilabDouble(1); diff --git a/js/Threshold/ZCROSS_f.js b/js/Threshold/ZCROSS_f.js index 606966d0..edf214d0 100644 --- a/js/Threshold/ZCROSS_f.js +++ b/js/Threshold/ZCROSS_f.js @@ -4,7 +4,7 @@ function ZCROSS_f() { rpar = [[-1],[-1],[0],[0]]; this.in1 = 1; this.model = scicos_model(); - this.model.sim = list("zcross",1); + this.model.sim = list(new ScilabString("zcross"),new ScilabDouble(1)); this.model.in1 = new ScilabDouble(this.in1); this.model.nzcross = new ScilabDouble(this.in1); this.model.evtout = new ScilabDouble(1); |