summaryrefslogtreecommitdiff
path: root/js/Threshold/NEGTOPOS_f.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Threshold/NEGTOPOS_f.js')
-rw-r--r--js/Threshold/NEGTOPOS_f.js2
1 files changed, 1 insertions, 1 deletions
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);