removed use of pow

This commit is contained in:
Dave Goodwin 2004-10-09 18:58:13 +00:00
parent 34cdb0c6a4
commit 027223c7bb

View file

@ -21,7 +21,7 @@ namespace tpx {
m_mw = MolWt;
// compute the a and b parameters
m_a = 0.42748*GasConstant*GasConstant*pow(m_tcrit, 2.5)/m_pcrit;
m_a = 0.42748*GasConstant*GasConstant*m_tcrit*m_tcrit*sqrt(m_tcrit)/m_pcrit;
m_b = 0.08664*GasConstant*m_tcrit/m_pcrit;
}