Fixing compile error

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14889 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
stamoor
2016-04-26 22:32:03 +00:00
parent 92b45d0163
commit 0da53bb3e3

View File

@ -29,7 +29,7 @@ namespace MathSpecial {
// scaled error function complement exp(x*x)*erfc(x) for coul/long styles
static inline double erfcx(const double x)
static inline double my_erfcx(const double x)
{
if (x >= 0.0) return erfcx_y100(400.0/(4.0+x));
else return 2.0*exp(x*x) - erfcx_y100(400.0/(4.0-x));