From 69eeb202832ad8e02119dc555f89cfdc9d9bd53f Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Thu, 12 Nov 2015 15:50:31 -0500 Subject: [PATCH] Remove duplicate check for thermo node --- src/thermo/IdealMolalSoln.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/thermo/IdealMolalSoln.cpp b/src/thermo/IdealMolalSoln.cpp index b669d4fd7..7c5717640 100644 --- a/src/thermo/IdealMolalSoln.cpp +++ b/src/thermo/IdealMolalSoln.cpp @@ -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();