Clear AbstractState classes for HAPropsSI at every call; closes #585

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
Ian Bell
2015-04-10 20:27:59 -06:00
parent d9d4541434
commit 1e5e465fa4

View File

@@ -1596,6 +1596,8 @@ double HAPropsSI(const std::string &OutputName, const std::string &Input1Name, d
{
// Add a check to make sure that Air and Water fluid states have been properly instantiated
check_fluid_instantiation();
Water->clear();
Air->clear();
std::vector<givens> input_keys(2);
std::vector<double> input_vals(2);