removed use of pow
This commit is contained in:
parent
34cdb0c6a4
commit
027223c7bb
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue