Fixed an error in a reference state calculation that showed up

using cttables.
This commit is contained in:
Harry Moffat 2012-04-13 21:36:27 +00:00
parent 3331c7f3ad
commit f5dc3480c7

View file

@ -94,8 +94,6 @@ void VPSSMgr_ConstVol::getGibbs_RT_ref(doublereal* grt) const
{
if (m_useTmpRefStateStorage) {
std::copy(m_g0_RT.begin(), m_g0_RT.end(), grt);
doublereal _rt = GasConstant * m_tlast;
scale(grt, grt + m_kk, grt, _rt);
} else {
throw CanteraError("VPSSMgr_ConstVol::getGibbs_RT_ref",
"unimplemented without m_useTmpRefStateStorage");