summaryrefslogtreecommitdiff
path: root/js/Threshold/GENERAL_f.js
diff options
context:
space:
mode:
authorSunil Shetye2018-08-27 16:37:59 +0530
committerSunil Shetye2018-08-27 16:43:40 +0530
commit17a1beeeae647a6fbd0904a5d794ce7754df7eb2 (patch)
tree00fa7aa4da4ae6b663e4c294380b93c1b92af3eb /js/Threshold/GENERAL_f.js
parent8e6c876e5582928ab6909cf0f3529a97f622520d (diff)
downloadsci2js-17a1beeeae647a6fbd0904a5d794ce7754df7eb2.tar.gz
sci2js-17a1beeeae647a6fbd0904a5d794ce7754df7eb2.tar.bz2
sci2js-17a1beeeae647a6fbd0904a5d794ce7754df7eb2.zip
set the initial value of exprs
Diffstat (limited to 'js/Threshold/GENERAL_f.js')
-rw-r--r--js/Threshold/GENERAL_f.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/Threshold/GENERAL_f.js b/js/Threshold/GENERAL_f.js
index f89809b1..5e04e0c3 100644
--- a/js/Threshold/GENERAL_f.js
+++ b/js/Threshold/GENERAL_f.js
@@ -38,6 +38,7 @@ function GENERAL_f() {
var ok = true;
this.in1 = parseFloat(arguments[0]["in1"]);
this.out = parseFloat(arguments[0]["out"]);
+ var exprs = [arguments[0]["in1"], arguments[0]["out"]];
if (ok) {
var tmpvar0 = check_io(this.model,this.graphics,this.in1,[],[],ones(this.out,1));
this.model = tmpvar0[0];