diff --git a/Cantera/src/thermo/State.cpp b/Cantera/src/thermo/State.cpp index 67e4aaf03..c3bbbb2c5 100644 --- a/Cantera/src/thermo/State.cpp +++ b/Cantera/src/thermo/State.cpp @@ -1,10 +1,8 @@ /** - * * @file State.cpp * Definitions for the class State, that manages the independent variables of temperature, mass density, * and species mass/mole fraction that define the thermodynamic state (see \ref phases and * class \link Cantera::State State\endlink). - * */ /* @@ -101,7 +99,7 @@ namespace Cantera { m_mmw = dot(x, x + m_kk, m_molwts.begin()); doublereal rmmw = 1.0/m_mmw; transform(x, x + m_kk, m_ym.begin(), timesConstant(rmmw)); - transform(m_y.begin(), m_y.begin() + m_kk, m_molwts.begin(), + transform(m_ym.begin(), m_ym.begin() + m_kk, m_molwts.begin(), m_y.begin(), multiplies()); }