[Thermo] Fix SpeciesThermoDuo to pass on the parameterization type
This commit is contained in:
parent
a8f4c76097
commit
1cb688150e
1 changed files with 2 additions and 2 deletions
|
|
@ -164,11 +164,11 @@ SpeciesThermoDuo<T1, T2>::install(const std::string& name, size_t sp, int type,
|
|||
{
|
||||
m_p0 = refPressure_;
|
||||
if (type == m_thermo1.ID) {
|
||||
m_thermo1.install(name, sp, 0, c, minTemp_, maxTemp_,
|
||||
m_thermo1.install(name, sp, type, c, minTemp_, maxTemp_,
|
||||
refPressure_);
|
||||
speciesToType[sp] = m_thermo1.ID;
|
||||
} else if (type == m_thermo2.ID) {
|
||||
m_thermo2.install(name, sp, 0, c, minTemp_, maxTemp_,
|
||||
m_thermo2.install(name, sp, type, c, minTemp_, maxTemp_,
|
||||
refPressure_);
|
||||
speciesToType[sp] = m_thermo2.ID;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue