ENH: correct pow(complex, ..) functions (fixes #1638)
* Use cast for std::pow(??, z). * No cast for std::pow(z, ??) - already properly specialized.
Showing
- applications/test/complex/Test-complex.C 46 additions, 18 deletionsapplications/test/complex/Test-complex.C
- src/OpenFOAM/primitives/complex/complex.H 4 additions, 4 deletionssrc/OpenFOAM/primitives/complex/complex.H
- src/OpenFOAM/primitives/complex/complexI.H 19 additions, 12 deletionssrc/OpenFOAM/primitives/complex/complexI.H
Please register or sign in to comment