Skip to content

Commit

Permalink
[Thermo] Fix IdealGasPhase constructor from XML_Node
Browse files Browse the repository at this point in the history
  • Loading branch information
speth committed Aug 4, 2015
1 parent 78412b3 commit ff60328
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/thermo/IdealGasPhase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*/

#include "cantera/thermo/IdealGasPhase.h"
#include "cantera/thermo/ThermoFactory.h"
#include "cantera/base/utilities.h"

using namespace std;
Expand All @@ -30,7 +31,7 @@ IdealGasPhase::IdealGasPhase(XML_Node& phaseRef, const std::string& id_) :
m_p0(-1.0),
m_logc0(0.0)
{
initThermoXML(phaseRef, id_);
importPhase(phaseRef, this);
}

IdealGasPhase::IdealGasPhase(const IdealGasPhase& right) :
Expand Down

0 comments on commit ff60328

Please sign in to comment.