[Thermo] Always initialize BinarySolutionTabulatedThermo member variables

This commit is contained in:
Ray Speth 2019-02-20 18:48:51 -05:00
parent f0c797c482
commit 7cf58af69e

View file

@ -20,17 +20,24 @@ namespace Cantera
{
BinarySolutionTabulatedThermo::BinarySolutionTabulatedThermo()
: m_kk_tab(npos)
, m_xlast(-1)
{
}
BinarySolutionTabulatedThermo::BinarySolutionTabulatedThermo(const std::string& inputFile,
const std::string& id_)
const std::string& id_)
: m_kk_tab(npos)
, m_xlast(-1)
{
initThermoFile(inputFile, id_);
}
BinarySolutionTabulatedThermo::BinarySolutionTabulatedThermo(XML_Node& root,
const std::string& id_)
const std::string& id_)
: m_kk_tab(npos)
, m_xlast(-1)
{
importPhase(root, this);
}