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/Hydraulics/SourceP.js | 1 + 1 file changed, 1 insertion(+) (limited to 'js/Hydraulics/SourceP.js') diff --git a/js/Hydraulics/SourceP.js b/js/Hydraulics/SourceP.js index 3ebd4649..120c93b0 100644 --- a/js/Hydraulics/SourceP.js +++ b/js/Hydraulics/SourceP.js @@ -44,6 +44,7 @@ function SourceP() { this.T0 = parseFloat(arguments[0]["T0"]); this.H0 = parseFloat(arguments[0]["H0"]); this.option_temperature = parseFloat(arguments[0]["option_temperature"]); + var exprs = [arguments[0]["P0"], arguments[0]["T0"], arguments[0]["H0"], arguments[0]["option_temperature"]]; if (!ok) { break; } -- cgit