From 17a1beeeae647a6fbd0904a5d794ce7754df7eb2 Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Mon, 27 Aug 2018 16:37:59 +0530 Subject: set the initial value of exprs --- js/Threshold/GENERAL_f.js | 1 + 1 file changed, 1 insertion(+) (limited to 'js/Threshold/GENERAL_f.js') 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]; -- cgit