summaryrefslogtreecommitdiff
path: root/js/Threshold/GENERAL_f.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Threshold/GENERAL_f.js')
-rw-r--r--js/Threshold/GENERAL_f.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Threshold/GENERAL_f.js b/js/Threshold/GENERAL_f.js
index 9c9c75b0..60c2ac11 100644
--- a/js/Threshold/GENERAL_f.js
+++ b/js/Threshold/GENERAL_f.js
@@ -12,7 +12,7 @@ function GENERAL_f() {
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 = new ScilabDouble([true,false]);
+ this.model.dep_ut = new ScilabBoolean([true,false]);
this.exprs = [[strcat(sci2exp(this.in1))],[strcat(sci2exp(this.out))]];
this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"GENERAL_f\",sz(1),sz(2));"]);
this.x = new standard_define(new ScilabDouble([3,2]),this.model,this.exprs,this.gr_i);