mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
Initialize quality to -1000 for tabular backends; closes #620
This commit is contained in:
@@ -17,6 +17,9 @@ void CoolProp::TTSEBackend::update(CoolProp::input_pairs input_pair, double val1
|
||||
cached_single_phase_j = std::numeric_limits<std::size_t>::max();
|
||||
cached_saturation_iL = std::numeric_limits<std::size_t>::max();
|
||||
cached_saturation_iV = std::numeric_limits<std::size_t>::max();
|
||||
|
||||
// To start, set quality to value that is impossible
|
||||
_Q = -1000;
|
||||
|
||||
switch(input_pair){
|
||||
case HmolarP_INPUTS:{
|
||||
|
||||
Reference in New Issue
Block a user