mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
Fix reducing state access for REFPROP; closes #487
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
@@ -184,11 +184,11 @@ double AbstractState::trivial_keyed_output(int key)
|
||||
case iP_triple:
|
||||
return this->p_triple();
|
||||
case iT_reducing:
|
||||
return get_reducing_state().T;
|
||||
return calc_T_reducing();
|
||||
case irhomolar_reducing:
|
||||
return get_reducing_state().rhomolar;
|
||||
return calc_rhomolar_reducing();
|
||||
case iP_reducing:
|
||||
return get_reducing_state().p;
|
||||
return calc_p_reducing();
|
||||
case iP_critical:
|
||||
return this->p_critical();
|
||||
case iT_critical:
|
||||
|
||||
Reference in New Issue
Block a user