Skip to content

Commit 66a35fa

Browse files
bingaoilfreddy
authored andcommitted
remove unused prec and GAUSS_EXP_PREC in GaussExp
1 parent e24c529 commit 66a35fa

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/functions/GaussExp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ namespace mrcpp {
4141

4242
template <int D> double GaussExp<D>::defaultScreening = 10.0;
4343

44-
template <int D> GaussExp<D>::GaussExp(int nTerms, double prec) {
44+
template <int D> GaussExp<D>::GaussExp(int nTerms) {
4545
for (int i = 0; i < nTerms; i++) { this->funcs.push_back(nullptr); }
4646
}
4747

src/functions/GaussExp.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@
3535

3636
namespace mrcpp {
3737

38-
#define GAUSS_EXP_PREC 1.e-10
39-
4038
/** @class GaussExp
4139
*
4240
* @brief Gaussian expansion in D dimensions
@@ -53,7 +51,7 @@ namespace mrcpp {
5351

5452
template <int D> class GaussExp : public RepresentableFunction<D, double> {
5553
public:
56-
GaussExp(int nTerms = 0, double prec = GAUSS_EXP_PREC);
54+
GaussExp(int nTerms = 0);
5755
GaussExp(const GaussExp<D> &gExp);
5856
GaussExp &operator=(const GaussExp<D> &gExp);
5957
~GaussExp() override;

0 commit comments

Comments
 (0)