Changed one member function to a const member function

This commit is contained in:
Harry Moffat 2009-04-22 00:33:35 +00:00
parent d7f9bb305e
commit 9d3980324f
2 changed files with 2 additions and 2 deletions

View file

@ -872,7 +872,7 @@ namespace Cantera {
return maxerr; return maxerr;
} }
double MultiPhaseEquil::phaseMoles(index_t iph) { double MultiPhaseEquil::phaseMoles(index_t iph) const {
return m_mix->phaseMoles(iph); return m_mix->phaseMoles(iph);
} }

View file

@ -77,7 +77,7 @@ namespace Cantera {
void reportCSV(const std::string &reportFile); void reportCSV(const std::string &reportFile);
double phaseMoles(index_t iph); double phaseMoles(index_t iph) const;
protected: protected: