From 06818e34cb9864d785055b3816daaad0adcacc5a Mon Sep 17 00:00:00 2001 From: Bin Gao Date: Thu, 11 Dec 2025 14:35:02 +0100 Subject: [PATCH] remove unused prec and GAUSS_EXP_PREC in GaussExp --- src/functions/GaussExp.cpp | 2 +- src/functions/GaussExp.h | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/functions/GaussExp.cpp b/src/functions/GaussExp.cpp index a57fe6708..21432686d 100644 --- a/src/functions/GaussExp.cpp +++ b/src/functions/GaussExp.cpp @@ -41,7 +41,7 @@ namespace mrcpp { template double GaussExp::defaultScreening = 10.0; -template GaussExp::GaussExp(int nTerms, double prec) { +template GaussExp::GaussExp(int nTerms) { for (int i = 0; i < nTerms; i++) { this->funcs.push_back(nullptr); } } diff --git a/src/functions/GaussExp.h b/src/functions/GaussExp.h index a4315e381..382213214 100644 --- a/src/functions/GaussExp.h +++ b/src/functions/GaussExp.h @@ -35,8 +35,6 @@ namespace mrcpp { -#define GAUSS_EXP_PREC 1.e-10 - /** @class GaussExp * * @brief Gaussian expansion in D dimensions @@ -53,7 +51,7 @@ namespace mrcpp { template class GaussExp : public RepresentableFunction { public: - GaussExp(int nTerms = 0, double prec = GAUSS_EXP_PREC); + GaussExp(int nTerms = 0); GaussExp(const GaussExp &gExp); GaussExp &operator=(const GaussExp &gExp); ~GaussExp() override;