Fix reducing state access for REFPROP; closes #487

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
Ian Bell
2015-02-22 23:11:40 -07:00
parent 7361d715ef
commit aff594bb25
3 changed files with 7 additions and 6 deletions

View File

@@ -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: