Skip to content

Commit

Permalink
Set pointers to null in case the destructor tries to delete them
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Grimes committed Dec 7, 2014
1 parent ecd2e3b commit f321e63
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ namespace FitterFuncs{

}

PulseShapeFitOOTPileupCorrection::PulseShapeFitOOTPileupCorrection() : cntsetPulseShape(0), chargeThreshold_(6.) {
PulseShapeFitOOTPileupCorrection::PulseShapeFitOOTPileupCorrection() : cntsetPulseShape(0), chargeThreshold_(6.), spfunctor_(nullptr), dpfunctor_(nullptr), tpfunctor_(nullptr) {
hybridfitter = new PSFitter::HybridMinimizer(PSFitter::HybridMinimizer::kMigrad);
iniTimesArr = { {-100,-75,-50,-25,0,25,50,75,100,125} };
}
Expand Down

0 comments on commit f321e63

Please sign in to comment.