mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user