From f69869a68527291b936aa2c672215993bf8c306a Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Fri, 9 Jan 2009 20:59:56 +0000 Subject: [PATCH] Fixed an error in the maxTemp and minTemp functions. --- Cantera/python/Cantera/mixture.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Cantera/python/Cantera/mixture.py b/Cantera/python/Cantera/mixture.py index 46931592b..b0f4d7ae6 100644 --- a/Cantera/python/Cantera/mixture.py +++ b/Cantera/python/Cantera/mixture.py @@ -175,21 +175,21 @@ class Mixture: """The minimum temperature for which all species in multi-species solutions have valid thermo data. Stoichiometric phases are not considered in determining minTemp. """ - return _cantera.mix_minTemp(self._mixid) + return _cantera.mix_minTemp(self.__mixid) def maxTemp(self): """The maximum temperature for which all species in multi-species solutions have valid thermo data. Stoichiometric phases are not considered in determining maxTemp. """ - return _cantera.mix_maxTemp(self._index) + return _cantera.mix_maxTemp(self.__mixid) def charge(self): """The total charge in Coulombs, summed over all phases.""" - return _cantera.mix_charge(self._index) + return _cantera.mix_charge(self.__mixid) def phaseCharge(self, p): """The charge of phase p (Coulombs).""" - return _cantera.mix_phaseCharge(self._index, p) + return _cantera.mix_phaseCharge(self.__mixid, p) def setPressure(self, p): """Set the pressure [Pa]. The pressures of all phases are set