BioSTEAMDevelopmentGroup/thermosteam

`refresh_constants` bug

yalinli2 opened this issue · 2 comments

Describe the bug
Looks like the refresh_constants method is not working for Chemicals

To Reproduce

import thermosteam as tmo
chems = tmo.Chemicals([tmo.Chemical('H2O'), tmo.Chemical('Ethanol')])
chems.compile()
chems.refresh_constants()

** Actual behavior**
Screen Shot 2021-10-05 at 10 48 00 AM

Version

  • GitHub

I think I fixed this in 54d3c8b, feel free to close this if it's good, but let me know if there are other concerns!

Thanks for taking care of this! I think this covers all constants put in arrays.