From ff60328ecd708beab503d3cebb0d7f1c5d3bb4fa Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Tue, 4 Aug 2015 12:01:45 -0400 Subject: [PATCH] [Thermo] Fix IdealGasPhase constructor from XML_Node --- src/thermo/IdealGasPhase.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/thermo/IdealGasPhase.cpp b/src/thermo/IdealGasPhase.cpp index 074ee6bb5..c34f9c2aa 100644 --- a/src/thermo/IdealGasPhase.cpp +++ b/src/thermo/IdealGasPhase.cpp @@ -6,6 +6,7 @@ */ #include "cantera/thermo/IdealGasPhase.h" +#include "cantera/thermo/ThermoFactory.h" #include "cantera/base/utilities.h" using namespace std; @@ -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) :