Remove duplicate check for thermo node

This commit is contained in:
Ray Speth 2015-11-12 15:50:31 -05:00
parent f79419cc49
commit 69eeb20283

View file

@ -406,12 +406,6 @@ void IdealMolalSoln::initThermo()
void IdealMolalSoln::initThermoXML(XML_Node& phaseNode, const std::string& id_)
{
// Find the Thermo XML node
if (!phaseNode.hasChild("thermo")) {
throw CanteraError("IdealMolalSoln::initThermoXML",
"no thermo XML node");
}
// Initialize the whole thermo object, using a virtual function.
initThermo();