From f56c1b7c81ac99e9e221f87a5291ed6218b2f6d8 Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Wed, 13 Jun 2007 00:17:13 +0000 Subject: [PATCH] Made minTemp() and maxTemp() const functions, to make the paradigm consistent. --- Cantera/src/thermo/ThermoPhase.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Cantera/src/thermo/ThermoPhase.h b/Cantera/src/thermo/ThermoPhase.h index 5b028aec6..0c87a8b2d 100755 --- a/Cantera/src/thermo/ThermoPhase.h +++ b/Cantera/src/thermo/ThermoPhase.h @@ -311,7 +311,7 @@ namespace Cantera { * @param k index of the species. Default is -1, which will return the max of the min value * over all species. */ - doublereal minTemp(int k = -1) { + doublereal minTemp(int k = -1) const { return m_spthermo->minTemp(k); } @@ -327,7 +327,7 @@ namespace Cantera { * @param k index of the species. Default is -1, which will return the min of the max value * over all species. */ - doublereal maxTemp(int k = -1) { + doublereal maxTemp(int k = -1) const { return m_spthermo->maxTemp(k); } @@ -1300,7 +1300,7 @@ namespace Cantera { { m_spthermo = spthermo; } /** - * @internal Return a reference to the species thermodynamic property + * @internal Return a changeable reference to the species thermodynamic property * manager. @todo This method will fail if no species thermo * manager has been installed. */