From 0099a864866729293357edc4192d84093b62f1a6 Mon Sep 17 00:00:00 2001 From: ifilot Date: Thu, 7 Dec 2023 07:10:14 +0100 Subject: [PATCH] Changing function name to avoid macro overlap --- pyqint/integrals.cpp | 4 ++-- pyqint/integrals.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyqint/integrals.cpp b/pyqint/integrals.cpp index 54abd62..a1b32bb 100644 --- a/pyqint/integrals.cpp +++ b/pyqint/integrals.cpp @@ -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); } diff --git a/pyqint/integrals.h b/pyqint/integrals.h index 8f676fe..a230e4b 100644 --- a/pyqint/integrals.h +++ b/pyqint/integrals.h @@ -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; };