Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
partons
core
partons
Commits
f9aab32e
Commit
f9aab32e
authored
Jul 21, 2021
by
Pawel Sznajder
Browse files
correct memory leak in TCS observable
parent
488d330c
Changes
3
Hide whitespace changes
Inline
Side-by-side
include/partons/modules/observable/TCS/cross_section/TCSCrossSectionUUThetaIntegrated.h
View file @
f9aab32e
...
...
@@ -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.
};
...
...
include/partons/modules/observable/TCS/cross_section/TCSCrossSectionUUThetaPhiIntegrated.h
View file @
f9aab32e
...
...
@@ -79,7 +79,7 @@ protected:
/**
* Initialize functors.
*/
virtual
void
initFunctorsForIntegrations
();
void
initFunctorsForIntegrations
();
};
...
...
src/partons/modules/observable/TCS/cross_section/TCSCrossSectionUUThetaPhiIntegrated.cpp
View file @
f9aab32e
...
...
@@ -40,8 +40,6 @@ TCSCrossSectionUUThetaPhiIntegrated::~TCSCrossSectionUUThetaPhiIntegrated() {
void
TCSCrossSectionUUThetaPhiIntegrated
::
initFunctorsForIntegrations
()
{
TCSCrossSectionUUThetaIntegrated
::
initFunctorsForIntegrations
();
m_pFunctionToIntegrateObservablePhi
=
NumA
::
Integrator1D
::
newIntegrationFunctor
(
this
,
&
TCSCrossSectionUUThetaPhiIntegrated
::
functionToIntegrateObservablePhi
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment