Remove duplicate check for thermo node
This commit is contained in:
parent
f79419cc49
commit
69eeb20283
1 changed files with 0 additions and 6 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue