From 690d889b38ea862b9f39669fae4eab01fac0077d Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Tue, 29 Nov 2022 13:25:29 -0500 Subject: [PATCH] use MathConst::MY_PI instead of M_PI --- src/ML-POD/mlpod.cpp | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/ML-POD/mlpod.cpp b/src/ML-POD/mlpod.cpp index bb5f7a0432..31d3e3e1d8 100644 --- a/src/ML-POD/mlpod.cpp +++ b/src/ML-POD/mlpod.cpp @@ -30,6 +30,7 @@ #include using namespace LAMMPS_NS; +using MathConst::MY_PI; #define MAXLINE 1024 @@ -344,7 +345,7 @@ void podsnapshots(double *rbf, double *xij, double *besselparams, double rin, do double x = (1.0 - exp(-alpha*r/rmax))/(1.0-exp(-alpha)); for (int i=0; i