diff --git a/Cantera/src/thermo/GeneralSpeciesThermo.cpp b/Cantera/src/thermo/GeneralSpeciesThermo.cpp index 9b1a42350..1b28f9535 100644 --- a/Cantera/src/thermo/GeneralSpeciesThermo.cpp +++ b/Cantera/src/thermo/GeneralSpeciesThermo.cpp @@ -180,6 +180,15 @@ namespace Cantera { * Now, simply assign the position */ m_sp[index] = stit_ptr; + + /* + * Calculate max and min + */ + double minTemp = stit_ptr->minTemp(); + double maxTemp = stit_ptr->maxTemp(); + + m_tlow_max = max(minTemp, m_tlow_max); + m_thigh_min = min(maxTemp, m_thigh_min); } /**