Skip to content

Commit

Permalink
Changing function name to avoid macro overlap
Browse files Browse the repository at this point in the history
  • Loading branch information
ifilot committed Dec 7, 2023
1 parent 258e086 commit 0099a86
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pyqint/integrals.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1239,10 +1239,10 @@ double Integrator::B_term(const int i1, const int i2, const int r1, const int r2
}

double Integrator::fB(const int i, const int l1, const int l2, const double p, const double a, const double b, const int r, const double g) const {
return binomial_prefactor(i, l1, l2, p-a, p-b) * B0(i, r, g);
return binomial_prefactor(i, l1, l2, p-a, p-b) * BB0(i, r, g);
}

double Integrator::B0(int i, int r, double g) const {
double Integrator::BB0(int i, int r, double g) const {
return fact_ratio2(i,r) * pow(4*g,r-i);
}

Expand Down
2 changes: 1 addition & 1 deletion pyqint/integrals.h
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,6 @@ class Integrator {
const double gamma2, const double delta) const;

double fB(const int i, const int l1, const int l2, const double p, const double a, const double b, const int r, const double q) const;
double B0(int i, int r, double q) const;
double BB0(int i, int r, double q) const;
double fact_ratio2(unsigned int a, unsigned int b) const;
};

0 comments on commit 0099a86

Please sign in to comment.