From f532a513da243cf40fd22c0c03a3b8f665365bde Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Mon, 26 Feb 2024 07:58:53 -0500 Subject: [PATCH] only import used constant --- src/DIFFRACTION/compute_xrd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DIFFRACTION/compute_xrd.cpp b/src/DIFFRACTION/compute_xrd.cpp index 2ee23c489c..11e0bb9a9f 100644 --- a/src/DIFFRACTION/compute_xrd.cpp +++ b/src/DIFFRACTION/compute_xrd.cpp @@ -35,7 +35,7 @@ #include "omp_compat.h" using namespace LAMMPS_NS; -using namespace MathConst; +using MathConst::MY_PI; static const char cite_compute_xrd_c[] = "compute xrd command: doi:10.1088/0965-0393/21/5/055020\n\n"