mirror of
https://github.com/Cantera/cantera.git
synced 2025-02-25 18:55:29 -06:00
Fixed GRI30.h. The id was wrong and caused a test problem to fail.
This commit is contained in:
parent
b87d572e97
commit
a59d1a233b
@ -23,7 +23,7 @@ namespace Cantera {
|
||||
|
||||
m_r = new XML_Node("-");
|
||||
m_r->build(fin);
|
||||
m_ok = buildSolutionFromXML(*m_r, "gri30_hw", "phase", this, this);
|
||||
m_ok = buildSolutionFromXML(*m_r, "gri30", "phase", this, this);
|
||||
if (!m_ok) throw CanteraError("GRI30",
|
||||
"buildSolutionFromXML returned false");
|
||||
}
|
||||
|
@ -34,7 +34,9 @@ namespace Cantera {
|
||||
m_ok = buildSolutionFromXML(root, id, "phase", this, this);
|
||||
}
|
||||
|
||||
virtual ~IdealGasMix() {}
|
||||
virtual ~IdealGasMix() {
|
||||
delete m_r;
|
||||
}
|
||||
|
||||
bool operator!() { return !m_ok;}
|
||||
bool ready() { return m_ok; }
|
||||
|
Loading…
Reference in New Issue
Block a user