Fixed evaluation AT the critical point

Closes https://github.com/CoolProp/CoolProp/issues/178

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
Ian Bell
2014-10-16 00:12:46 +02:00
parent 77818c5cda
commit cfcd50bffc
4 changed files with 24 additions and 1 deletions

View File

@@ -964,6 +964,8 @@ std::string phase_lookup_string(phases Phase)
return "supercritical_gas";
case iphase_supercritical_liquid: ///< Supercritical liquid (p > pc, T < Tc)
return "supercritical_liquid";
case iphase_critical_point: ///< At the critical point
return "critical_point";
case iphase_gas: ///< Subcritical gas
return "gas";
case iphase_twophase: ///< Twophase