summaryrefslogtreecommitdiff
path: root/js/Threshold/ZCROSS_f.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Threshold/ZCROSS_f.js')
-rw-r--r--js/Threshold/ZCROSS_f.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Threshold/ZCROSS_f.js b/js/Threshold/ZCROSS_f.js
index 5ebd8928..ec218c09 100644
--- a/js/Threshold/ZCROSS_f.js
+++ b/js/Threshold/ZCROSS_f.js
@@ -11,7 +11,7 @@ function ZCROSS_f() {
this.model.rpar = new ScilabDouble([-1],[-1],[0],[0]);
this.model.blocktype = new ScilabString(["z"]);
this.model.firing = new ScilabDouble([-1]);
- this.model.dep_ut = new ScilabDouble([true,false]);
+ this.model.dep_ut = new ScilabBoolean([true,false]);
this.exprs = strcat(sci2exp(this.in1));
this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"ZCROSS_f\",sz(1),sz(2));"]);
this.x = new standard_define(new ScilabDouble([2,2]),this.model,this.exprs,this.gr_i);