From 1cb688150e15fabeaa811b3ef1dc69c9bd84e0d0 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Sat, 27 Sep 2014 00:08:59 +0000 Subject: [PATCH] [Thermo] Fix SpeciesThermoDuo to pass on the parameterization type --- include/cantera/thermo/SpeciesThermoMgr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/cantera/thermo/SpeciesThermoMgr.h b/include/cantera/thermo/SpeciesThermoMgr.h index fae145e26..d026dbf9a 100644 --- a/include/cantera/thermo/SpeciesThermoMgr.h +++ b/include/cantera/thermo/SpeciesThermoMgr.h @@ -164,11 +164,11 @@ SpeciesThermoDuo::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 {