Mercurial > hg > cfcfd3
changeset 2599:d65c010e25fd
app/pitot: Fixed a big with a custom test gas temperature.
It didn't work if the user was using a custom test gas. Small but annoying.
Fixed now.
author | Chris James <c.james4@uq.edu.au> |
---|---|
date | Thu, 23 Apr 2020 23:35:05 +1000 |
parents | a471c966e7ab |
children | 0ab07fc77eef |
files | app/pitot/pitot.py app/pitot/pitot_input_utils.py |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/app/pitot/pitot.py Fri Apr 17 13:05:46 2020 +1000 +++ b/app/pitot/pitot.py Thu Apr 23 23:35:05 2020 +1000 @@ -315,7 +315,7 @@ from pitot_output_utils import * from pitot_area_ratio_check import * -VERSION_STRING = "19-Apr-2020" +VERSION_STRING = "23-Apr-2020" DEBUG_PITOT = False
--- a/app/pitot/pitot_input_utils.py Fri Apr 17 13:05:46 2020 +1000 +++ b/app/pitot/pitot_input_utils.py Thu Apr 23 23:35:05 2020 +1000 @@ -1508,7 +1508,7 @@ if cfg['test_gas'] == 'custom': states['s1'] = Gas(cfg['test_gas_composition'],inputUnits=cfg['test_gas_inputUnits'], outputUnits=cfg['test_gas_inputUnits'], with_ions=cfg['test_gas_with_ions']) - states['s1'].set_pT(float(cfg['p1']),cfg['T0']) + states['s1'].set_pT(float(cfg['p1']),cfg['T1']) cfg['gas_guess'] = None else: # ------------------------ eq test gas stuff ----------------------------