Fixed an error in a reference state calculation that showed up
using cttables.
This commit is contained in:
parent
3331c7f3ad
commit
f5dc3480c7
1 changed files with 0 additions and 2 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue