Commit f9aab32e authored by Pawel Sznajder's avatar Pawel Sznajder
Browse files

correct memory leak in TCS observable

parent 488d330c
......@@ -96,7 +96,7 @@ protected:
/**
* Initialize functors.
*/
virtual void initFunctorsForIntegrations();
void initFunctorsForIntegrations();
std::pair<double, double> m_thetaRange; ///< Range of theta angle used in the integration.
};
......
......@@ -79,7 +79,7 @@ protected:
/**
* Initialize functors.
*/
virtual void initFunctorsForIntegrations();
void initFunctorsForIntegrations();
};
......
......@@ -40,8 +40,6 @@ TCSCrossSectionUUThetaPhiIntegrated::~TCSCrossSectionUUThetaPhiIntegrated() {
void TCSCrossSectionUUThetaPhiIntegrated::initFunctorsForIntegrations() {
TCSCrossSectionUUThetaIntegrated::initFunctorsForIntegrations();
m_pFunctionToIntegrateObservablePhi =
NumA::Integrator1D::newIntegrationFunctor(this,
&TCSCrossSectionUUThetaPhiIntegrated::functionToIntegrateObservablePhi);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment