Skip to content

Commit

Permalink
[Thermo] Fix BinarySolutionTabulatedThermo initial mole fraction thermo
Browse files Browse the repository at this point in the history
The value of m_xlast should only be set to a valid value by _updateThermo,
after it has calculated values for the tabulated enthalpy and entropy.
  • Loading branch information
speth committed Mar 6, 2019
1 parent ba0fd18 commit cd91eeb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/thermo/BinarySolutionTabulatedThermo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ void BinarySolutionTabulatedThermo::initThermoXML(XML_Node& phaseNode, const std
throw CanteraError("BinarySolutionTabulatedThermo::initThermoXML",
"Species " + tabulated_species_name + " not found.");
}
m_xlast = moleFraction(m_kk_tab);
}
if (thermoNode.hasChild("tabulatedThermo")) {
XML_Node& dataNode = thermoNode.child("tabulatedThermo");
Expand Down

0 comments on commit cd91eeb

Please sign in to comment.