mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-02-15 00:05:14 -05:00
Catch exceptions properly for critical point routines; silence output
This commit is contained in:
@@ -3102,7 +3102,9 @@ public:
|
||||
CoolProp::SimpleState crit = HEOS.get_state("critical");
|
||||
critical_points.push_back(crit);
|
||||
N_critical_points++;
|
||||
std::cout << HEOS.get_mole_fractions()[0] << " " << crit.rhomolar << " " << crit.T << " " << p_MPa << std::endl;
|
||||
if (get_debug_level() > 0){
|
||||
std::cout << HEOS.get_mole_fractions()[0] << " " << crit.rhomolar << " " << crit.T << " " << p_MPa << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
// Update the storage values
|
||||
|
||||
Reference in New Issue
Block a user