BUG: Corrected false integer divisions. Fixes #557

This commit is contained in:
Andrew Heather
2017-08-07 11:53:54 +01:00
parent 9b05e43626
commit 20267c68b4
7 changed files with 8 additions and 8 deletions

View File

@ -91,7 +91,7 @@ void Foam::tabulatedWallFunctions::SpaldingsLaw::invertFunction()
(
2*E_*uPlus
+ exp(kUPlus)*(kUPlus + 1)
- 2/3*pow3(kUPlus)
- 2.0/3.0*pow3(kUPlus)
- 1.5*sqr(kUPlus)
- 2*kUPlus
- 1