Skip to content

Commit

Permalink
Set UnbinnedLikelihoodFit::getParameterErrors() return as const double *
Browse files Browse the repository at this point in the history
Update in ROOT 6.04.00 changed return type of `TF1::GetParErrors()
const` to be const.

See ROOT commit: 0539de6de4bb7aba2160da0195296aa0d94209ce

Signed-off-by: David Abdurachmanov <David.Abdurachmanov@cern.ch>
  • Loading branch information
David Abdurachmanov authored and David Abdurachmanov committed May 22, 2015
1 parent e929f44 commit 14ffadb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RecoTracker/DeDx/interface/UnbinnedLikelihoodFit.h
Expand Up @@ -47,7 +47,7 @@ class UnbinnedLikelihoodFit : public TObject
double getParameterValue(uint32_t i) { return function_ ? function_->GetParameter(i) : 0; }
double getParameterError(uint32_t i) { return function_ ? function_->GetParError(i) : 0; }
double* getParameterValues() { return function_ ? function_->GetParameters() : NULL; }
double* getParameterErrors() { return function_ ? function_->GetParErrors() : NULL; }
const double* getParameterErrors() { return function_ ? function_->GetParErrors() : NULL; }

private:
// input data
Expand Down

0 comments on commit 14ffadb

Please sign in to comment.