mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-01-10 14:38:11 -05:00
Unspecify the phase when using Halley's method with P+Y flash
This commit is contained in:
@@ -1086,6 +1086,8 @@ void FlashRoutines::HSU_P_flash_singlephase_Brent(HelmholtzEOSMixtureBackend &HE
|
||||
{
|
||||
throw ValueError("Halley's method was unable to find a solution in HSU_P_flash_singlephase_Brent");
|
||||
}
|
||||
// Un-specify the phase of the fluid
|
||||
HEOS.unspecify_phase();
|
||||
}
|
||||
catch(...){
|
||||
try{
|
||||
|
||||
Reference in New Issue
Block a user